Skip to content

Commit 7854625

Browse files
committed
avoid using the RGB LEDs to save energy
1 parent dbe47a6 commit 7854625

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ports/nrf/boards/makerdiary_m60_keyboard/mpconfigboard.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
#define MICROPY_HW_BOARD_NAME "Makerdiary M60 Keyboard"
3131
#define MICROPY_HW_MCU_NAME "nRF52840"
3232

33-
#define CP_RGB_STATUS_R (&pin_P0_30)
34-
#define CP_RGB_STATUS_G (&pin_P0_29)
35-
#define CP_RGB_STATUS_B (&pin_P0_31)
33+
// not use the RGB LEDs to save energy
34+
// #define CP_RGB_STATUS_R (&pin_P0_30)
35+
// #define CP_RGB_STATUS_G (&pin_P0_29)
36+
// #define CP_RGB_STATUS_B (&pin_P0_31)
3637

3738
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(1, 10)
3839
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(1, 14)

0 commit comments

Comments
 (0)