@@ -51,7 +51,7 @@ void new_status_color(uint32_t rgb) {
51
51
status_neopixel_color [0 ] = (rgb >> 8 ) & 0xff ;
52
52
status_neopixel_color [1 ] = (rgb >> 16 ) & 0xff ;
53
53
status_neopixel_color [2 ] = rgb & 0xff ;
54
- common_hal_neopixel_write (& status_neopixel , status_neopixel_color , 3 , true );
54
+ common_hal_neopixel_write (& status_neopixel , status_neopixel_color , 3 );
55
55
#endif
56
56
#if defined(MICROPY_HW_APA102_MOSI ) && defined(MICROPY_HW_APA102_SCK )
57
57
status_apa102_color [5 ] = rgb & 0xff ;
@@ -64,7 +64,7 @@ void new_status_color(uint32_t rgb) {
64
64
void temp_status_color (uint32_t rgb ) {
65
65
#ifdef MICROPY_HW_NEOPIXEL
66
66
uint8_t colors [3 ] = {(rgb >> 8 ) & 0xff , (rgb >> 16 ) & 0xff , rgb & 0xff };
67
- common_hal_neopixel_write (& status_neopixel , colors , 3 , true );
67
+ common_hal_neopixel_write (& status_neopixel , colors , 3 );
68
68
#endif
69
69
#if defined(MICROPY_HW_APA102_MOSI ) && defined(MICROPY_HW_APA102_SCK )
70
70
uint8_t colors [12 ] = {0 , 0 , 0 , 0 , 0xff , rgb & 0xff , (rgb >> 8 ) & 0xff , (rgb >> 16 ) & 0xff , 0x0 , 0x0 , 0x0 , 0x0 };
@@ -74,7 +74,7 @@ void temp_status_color(uint32_t rgb) {
74
74
75
75
void clear_temp_status () {
76
76
#ifdef MICROPY_HW_NEOPIXEL
77
- common_hal_neopixel_write (& status_neopixel , status_neopixel_color , 3 , true );
77
+ common_hal_neopixel_write (& status_neopixel , status_neopixel_color , 3 );
78
78
#endif
79
79
#if defined(MICROPY_HW_APA102_MOSI ) && defined(MICROPY_HW_APA102_SCK )
80
80
shared_module_bitbangio_spi_write (& status_apa102 , status_apa102_color , 12 );
0 commit comments