From 0f9dec977e7e492bb4ad96c53da2e436a95912de Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Thu, 31 Mar 2016 00:40:40 +0200 Subject: [PATCH] udoo: fix LED macro --- boards/udoo/include/board.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/udoo/include/board.h b/boards/udoo/include/board.h index c3aa1a88a6..5978b4e19e 100644 --- a/boards/udoo/include/board.h +++ b/boards/udoo/include/board.h @@ -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) /** @} */ /**