From 64cf524d0e746dc941c831712c880bb1c454e584 Mon Sep 17 00:00:00 2001 From: Juri Wolf Date: Wed, 20 Dec 2023 11:20:06 +0100 Subject: [PATCH] disable rgb led off --- model/MicroBit.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/model/MicroBit.cpp b/model/MicroBit.cpp index 79f63bb2..22c6ba9a 100644 --- a/model/MicroBit.cpp +++ b/model/MicroBit.cpp @@ -178,11 +178,6 @@ int MicroBit::init() microbit_no_init_memory_region.resetClickCount++; } - // turn RGB LEDs off - uint8_t rgbBuffer[9] = {0, 0, 0, 0, 0, 0, 0, 0, 0}; - neopixel_send_buffer(io.RGB, rgbBuffer, sizeof(rgbBuffer)); - // io.RGB.setDigitalValue(0); - #if CONFIG_ENABLED(DEVICE_BLE) // Ensure BLE bootloader settings are up to date. // n.b. this only performs a write operation if the settings stored in FLASH are out of date.