We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76e9f49 commit ce55822Copy full SHA for ce55822
supervisor/shared/board.c
@@ -36,7 +36,7 @@
36
void board_reset_user_neopixels(const mcu_pin_obj_t* pin, size_t count) {
37
// Turn off on-board NeoPixel string
38
uint8_t empty[count * 3];
39
- memset(empty, 0, count);
+ memset(empty, 0, count * 3);
40
digitalio_digitalinout_obj_t neopixel_pin;
41
common_hal_digitalio_digitalinout_construct(&neopixel_pin, pin);
42
common_hal_digitalio_digitalinout_switch_to_output(&neopixel_pin, false,
0 commit comments