1
0
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:
benpicco 2022-05-02 12:16:25 +02:00 committed by GitHub
commit dd2d8a464a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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