1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

udoo: fix LED macro

This commit is contained in:
Martine Lenders 2016-03-31 00:40:40 +02:00
parent 0e3a9c693e
commit 0f9dec977e

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)
/** @} */
/**