turn off all neopix when booting

This commit is contained in:
lady ada 2021-06-06 18:30:17 -04:00
parent 8f1c25c8ae
commit 3890271f19
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include "shared-bindings/microcontroller/Pin.h"
#include "src/rp2_common/hardware_gpio/include/hardware/gpio.h"
#include "supervisor/shared/board.h"
void board_init(void) {
}
@ -37,4 +38,6 @@ bool board_requests_safe_mode(void) {
}
void reset_board(void) {
// turn off any left over LED
board_reset_user_neopixels(&pin_GPIO19, 12);
}