Fix LED misuse interfering with atmel builds

This commit is contained in:
Hierophect 2019-07-22 14:59:06 -04:00
parent f65404cc05
commit ee75f1aaaf
2 changed files with 1 additions and 3 deletions

@ -1 +1 @@
Subproject commit ed6fa460e9a885bb84a6f1588763ea5fb3f4df49
Subproject commit 8fad8fb5c2d4b586431c1893f912ad2ebedc9b33

2
main.c
View File

@ -395,10 +395,8 @@ int __attribute__((used)) main(void) {
safe_mode_t safe_mode = port_init();
// Turn on LEDs
#if MICROPY_HW_LED_RX && MICROPY_HW_LED_RX
init_status_leds();
rgb_led_status_init();
#endif
// Wait briefly to give a reset window where we'll enter safe mode after the reset.
if (safe_mode == NO_SAFE_MODE) {