summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorYihui Xiong <yihui.xiong@hotmail.com>2020-08-05 16:08:13 +0800
committerYihui Xiong <yihui.xiong@hotmail.com>2020-08-05 16:08:13 +0800
commit7854625c4edac2dff663d693232e8c05380d960a (patch)
treeaacb00c40e503c07e10be13c01a69c2ea91350d7 /ports
parentdbe47a6a2a3a5e34f11cc18c397dbdedff2ad462 (diff)
avoid using the RGB LEDs to save energy
Diffstat (limited to 'ports')
-rw-r--r--ports/nrf/boards/makerdiary_m60_keyboard/mpconfigboard.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ports/nrf/boards/makerdiary_m60_keyboard/mpconfigboard.h b/ports/nrf/boards/makerdiary_m60_keyboard/mpconfigboard.h
index 04a49e5e2..e8c268d5b 100644
--- a/ports/nrf/boards/makerdiary_m60_keyboard/mpconfigboard.h
+++ b/ports/nrf/boards/makerdiary_m60_keyboard/mpconfigboard.h
@@ -30,9 +30,10 @@
#define MICROPY_HW_BOARD_NAME "Makerdiary M60 Keyboard"
#define MICROPY_HW_MCU_NAME "nRF52840"
-#define CP_RGB_STATUS_R (&pin_P0_30)
-#define CP_RGB_STATUS_G (&pin_P0_29)
-#define CP_RGB_STATUS_B (&pin_P0_31)
+// not use the RGB LEDs to save energy
+// #define CP_RGB_STATUS_R (&pin_P0_30)
+// #define CP_RGB_STATUS_G (&pin_P0_29)
+// #define CP_RGB_STATUS_B (&pin_P0_31)
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 10)
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 14)