File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ static char heap[PORT_HEAP_SIZE];
7575
7676void reset_mp (void ) {
7777 reset_status_led ();
78- new_status_color (0x8f008f );
7978 autoreload_stop ();
8079
8180 // Sync the file systems in case any used RAM from the GC to cache. As soon
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ void rgb_led_status_init() {
9797 #if defined(MICROPY_HW_NEOPIXEL ) || (defined(MICROPY_HW_APA102_MOSI ) && defined(MICROPY_HW_APA102_SCK ))
9898 // Force a write of the current status color.
9999 uint32_t rgb = current_status_color ;
100- current_status_color = 0 ;
100+ current_status_color = 0x1000000 ; // Not a valid color
101101 new_status_color (rgb );
102102 #endif
103103}
@@ -118,7 +118,7 @@ void new_status_color(uint32_t rgb) {
118118 return ;
119119 }
120120 uint32_t rgb_adjusted = color_brightness (rgb , rgb_status_brightness );
121- current_status_color = rgb_adjusted ;
121+ current_status_color = rgb ;
122122 #endif
123123
124124 #ifdef MICROPY_HW_NEOPIXEL
You can’t perform that action at this time.
0 commit comments