Fix LED misuse interfering with atmel builds
This commit is contained in:
parent
f65404cc05
commit
ee75f1aaaf
@ -1 +1 @@
|
|||||||
Subproject commit ed6fa460e9a885bb84a6f1588763ea5fb3f4df49
|
Subproject commit 8fad8fb5c2d4b586431c1893f912ad2ebedc9b33
|
2
main.c
2
main.c
@ -395,10 +395,8 @@ int __attribute__((used)) main(void) {
|
|||||||
safe_mode_t safe_mode = port_init();
|
safe_mode_t safe_mode = port_init();
|
||||||
|
|
||||||
// Turn on LEDs
|
// Turn on LEDs
|
||||||
#if MICROPY_HW_LED_RX && MICROPY_HW_LED_RX
|
|
||||||
init_status_leds();
|
init_status_leds();
|
||||||
rgb_led_status_init();
|
rgb_led_status_init();
|
||||||
#endif
|
|
||||||
|
|
||||||
// Wait briefly to give a reset window where we'll enter safe mode after the reset.
|
// Wait briefly to give a reset window where we'll enter safe mode after the reset.
|
||||||
if (safe_mode == NO_SAFE_MODE) {
|
if (safe_mode == NO_SAFE_MODE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user