Skip to content
Snippets Groups Projects
Unverified Commit 2bfa0e49 authored by Peter Kietzmann's avatar Peter Kietzmann Committed by GitHub
Browse files

Merge pull request #10322 from Rotzbua/patch-1

tests/leds: initialize led0 by default
parents 3e7b3d38 d606c11d
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,9 @@ extern "C" { ...@@ -63,7 +63,9 @@ extern "C" {
#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 */ /* the Nucleo144 boards always use LED0, as there is no dual use of its pin */
#ifndef AUTO_INIT_LED0
#define AUTO_INIT_LED0 #define AUTO_INIT_LED0
#endif
/** @} */ /** @} */
/** /**
......
include ../Makefile.tests_common include ../Makefile.tests_common
# Some boards do not initialize LED0 by default
CFLAGS=-DAUTO_INIT_LED0
include $(RIOTBASE)/Makefile.include include $(RIOTBASE)/Makefile.include
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment