Skip to content

Commit 463f005

Browse files
ABOSTMcparata
authored andcommitted
fix: Nucleo G474RE: define LED_BUILTIN in the proper way
It should have no impact. Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent e4c989f commit 463f005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: variants/STM32G4xx/G473R(B-C-E)T_G474R(B-C-E)T_G483RET_G484RET/variant_NUCLEO_G474RE.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@
138138
#define NUM_ANALOG_INPUTS 13
139139

140140
// On-board LED pin number
141+
#define LED_GREEN PA5
141142
#ifndef LED_BUILTIN
142-
#define LED_BUILTIN PA5
143+
#define LED_BUILTIN LED_GREEN
143144
#endif
144-
#define LED_GREEN LED_BUILTIN
145145

146146
// On-board user button
147147
#ifndef USER_BTN

0 commit comments

Comments
 (0)