mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #18041 from krzysztof-cabaj/stm32f469i-disco-LEDs
boards/stm32f469i-disco: LEDX_ON LEDX_OFF mismatch
This commit is contained in:
commit
dd2d8a464a
@ -45,20 +45,20 @@ extern "C"
|
||||
#define LED2_MASK (1 << 5)
|
||||
#define LED3_MASK (1 << 3)
|
||||
|
||||
#define LED0_ON (LED0_PORT->BSRR = LED0_MASK)
|
||||
#define LED0_OFF (LED0_PORT->BSRR = (LED0_MASK << 16))
|
||||
#define LED0_ON (LED0_PORT->BSRR = (LED0_MASK << 16))
|
||||
#define LED0_OFF (LED0_PORT->BSRR = LED0_MASK)
|
||||
#define LED0_TOGGLE (LED0_PORT->ODR ^= LED0_MASK)
|
||||
|
||||
#define LED1_ON (LED1_PORT->BSRR = LED1_MASK)
|
||||
#define LED1_OFF (LED1_PORT->BSRR = (LED1_MASK << 16))
|
||||
#define LED1_ON (LED1_PORT->BSRR = (LED1_MASK << 16))
|
||||
#define LED1_OFF (LED1_PORT->BSRR = LED1_MASK)
|
||||
#define LED1_TOGGLE (LED1_PORT->ODR ^= LED1_MASK)
|
||||
|
||||
#define LED2_ON (LED2_PORT->BSRR = LED2_MASK)
|
||||
#define LED2_OFF (LED2_PORT->BSRR = (LED2_MASK << 16))
|
||||
#define LED2_ON (LED2_PORT->BSRR = (LED2_MASK << 16))
|
||||
#define LED2_OFF (LED2_PORT->BSRR = LED2_MASK)
|
||||
#define LED2_TOGGLE (LED2_PORT->ODR ^= LED2_MASK)
|
||||
|
||||
#define LED3_ON (LED3_PORT->BSRR = LED3_MASK)
|
||||
#define LED3_OFF (LED3_PORT->BSRR = (LED3_MASK << 16))
|
||||
#define LED3_ON (LED3_PORT->BSRR = (LED3_MASK << 16))
|
||||
#define LED3_OFF (LED3_PORT->BSRR = LED3_MASK)
|
||||
#define LED3_TOGGLE (LED3_PORT->ODR ^= LED3_MASK)
|
||||
/** @} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user