Skip to content

Commit ee75f1a

Browse files
committed
Fix LED misuse interfering with atmel builds
1 parent f65404c commit ee75f1a

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

lib/tinyusb

Submodule tinyusb updated 61 files

main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,8 @@ int __attribute__((used)) main(void) {
395395
safe_mode_t safe_mode = port_init();
396396

397397
// Turn on LEDs
398-
#if MICROPY_HW_LED_RX && MICROPY_HW_LED_RX
399398
init_status_leds();
400399
rgb_led_status_init();
401-
#endif
402400

403401
// Wait briefly to give a reset window where we'll enter safe mode after the reset.
404402
if (safe_mode == NO_SAFE_MODE) {

0 commit comments

Comments
 (0)