1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #5212 from authmillenon/board/fix/udoo-led-macros

udoo: fix LED macro
This commit is contained in:
Hauke Petersen 2016-03-31 11:52:50 +02:00
commit a41efb672e

View File

@ -37,9 +37,9 @@ extern "C" {
#define LED_PORT PIOB
#define LED0_MASK PIO_PB27
#define LED_ON (LED_PORT->PIO_SODR = LED0_MASK)
#define LED_OFF (LED_PORT->PIO_CODR = LED0_MASK)
#define LED_TOGGLE (LED_PORT->PIO_ODSR ^= LED0_MASK)
#define LED0_ON (LED_PORT->PIO_SODR = LED0_MASK)
#define LED0_OFF (LED_PORT->PIO_CODR = LED0_MASK)
#define LED0_TOGGLE (LED_PORT->PIO_ODSR ^= LED0_MASK)
/** @} */
/**