summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-12-08 13:05:21 -0800
committerScott Shawcroft <scott@tannewt.org>2020-12-08 13:05:21 -0800
commit0b4bcd9599cc07ff85d6a70297ae86ff3b02cdec (patch)
treeadcb5e0752633af7303caba7c6b6e1835b360906 /supervisor
parent40118bcf57f026fd6a58733501c759a9ba87e835 (diff)
Fix build and more comments
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/shared/board.c2
-rw-r--r--supervisor/shared/board.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/supervisor/shared/board.c b/supervisor/shared/board.c
index 111aa0e3c..30603aa66 100644
--- a/supervisor/shared/board.c
+++ b/supervisor/shared/board.c
@@ -33,7 +33,7 @@
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "shared-bindings/neopixel_write/__init__.h"
-void board_reset_user_neopixels(mcu_pin_obj_t* pin, size_t count) {
+void board_reset_user_neopixels(const mcu_pin_obj_t* pin, size_t count) {
// Turn off on-board NeoPixel string
uint8_t empty[count * 3];
memset(empty, 0, count);
diff --git a/supervisor/shared/board.h b/supervisor/shared/board.h
index cdeefbf22..fe887a933 100644
--- a/supervisor/shared/board.h
+++ b/supervisor/shared/board.h
@@ -31,6 +31,6 @@
#include "shared-bindings/microcontroller/Pin.h"
-void board_reset_user_neopixels(mcu_pin_obj_t* pin, size_t count);
+void board_reset_user_neopixels(const mcu_pin_obj_t* pin, size_t count);
#endif // MICROPY_INCLUDED_SUPERVISOR_SHARED_BOARD_H