1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:52:44 +01:00

boards/stm32f469i-disco: LEDX_ON LEDX_OFF mismatch fix

This commit is contained in:
krzysztof-cabaj 2022-05-02 04:45:09 -04:00
parent 164220fb7f
commit 3f49e9b17a

View File

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