Skip to content

Commit

Permalink
disable rgb led off
Browse files Browse the repository at this point in the history
  • Loading branch information
Amerlander committed Dec 20, 2023
1 parent e1ec5d3 commit 64cf524
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions model/MicroBit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 64cf524

Please sign in to comment.