1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 17:43:51 +01:00

boards/nucleo144: always (auto-) initialize LED0

This commit is contained in:
Hauke Petersen 2018-01-22 12:23:13 +01:00
parent 7ca0bcfd43
commit fa0f4be203

View File

@ -54,6 +54,9 @@ extern "C" {
#define LED2_ON (GPIOB->BSRR = LED2_MASK)
#define LED2_OFF (GPIOB->BSRR = (LED2_MASK << 16))
#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
/** @} */
/**