mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 10:03:50 +01:00
boards/nucleo144: always (auto-) initialize LED0
This commit is contained in:
parent
7ca0bcfd43
commit
fa0f4be203
@ -54,6 +54,9 @@ extern "C" {
|
|||||||
#define LED2_ON (GPIOB->BSRR = LED2_MASK)
|
#define LED2_ON (GPIOB->BSRR = LED2_MASK)
|
||||||
#define LED2_OFF (GPIOB->BSRR = (LED2_MASK << 16))
|
#define LED2_OFF (GPIOB->BSRR = (LED2_MASK << 16))
|
||||||
#define LED2_TOGGLE (GPIOB->ODR ^= LED2_MASK)
|
#define LED2_TOGGLE (GPIOB->ODR ^= LED2_MASK)
|
||||||
|
|
||||||
|
/* the Nucleo144 boards always use LED0, as there is no dual use of its pin */
|
||||||
|
#define AUTO_INIT_LED0
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user