From 7d66eb436181376dac9ed40bfca58d89cd04ffc8 Mon Sep 17 00:00:00 2001 From: Amerlander Date: Thu, 14 Sep 2023 12:03:59 +0200 Subject: [PATCH] turn off rgbleds 2 --- model/MicroBit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/MicroBit.cpp b/model/MicroBit.cpp index c169565d..0885cd06 100644 --- a/model/MicroBit.cpp +++ b/model/MicroBit.cpp @@ -179,8 +179,8 @@ int MicroBit::init() } // turn RGB LEDs off - // neopixel_send_buffer(uBit.io.RGB, (uint8_t[]){0, 0, 0, 0, 0, 0, 0, 0, 0}, 9); - uBit.io.RGB.setDigitalValue(0); + // neopixel_send_buffer(io.RGB, (uint8_t[]){0, 0, 0, 0, 0, 0, 0, 0, 0}, 9); + io.RGB.setDigitalValue(0); #if CONFIG_ENABLED(DEVICE_BLE) // Ensure BLE bootloader settings are up to date.