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:
commit
a41efb672e
@ -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)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user