Skip to content

Commit

Permalink
Merge pull request #5212 from authmillenon/board/fix/udoo-led-macros
Browse files Browse the repository at this point in the history
udoo: fix LED macro
  • Loading branch information
haukepetersen committed Mar 31, 2016
2 parents d699ff1 + 0f9dec9 commit a41efb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boards/udoo/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
/** @} */

/**
Expand Down

0 comments on commit a41efb6

Please sign in to comment.