Skip to content

Commit

Permalink
Merge branch 'v0.2.57-calliope-branch' into calliope
Browse files Browse the repository at this point in the history
  • Loading branch information
Amerlander committed Sep 19, 2023
2 parents ce5429f + 70221e6 commit 945d954
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion model/MicroBit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ 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);
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.
Expand Down

0 comments on commit 945d954

Please sign in to comment.