Skip to content

Commit

Permalink
Shorter reset to Bluetooth mode animation (#368)
Browse files Browse the repository at this point in the history
* Shorter reset to Bluetooth mode animation

* Reduce A+B+RESET delay to 20ms
  • Loading branch information
martinwork committed Sep 14, 2023
1 parent afa629d commit 3d10777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/MicroBit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ int MicroBit::init()
while (((triple_reset || (buttonA.isPressed() && buttonB.isPressed())) && i<25) || RebootMode != NULL || flashIncomplete != NULL)
{
display.image.setPixelValue(x,y,255);
sleep(50);
sleep(triple_reset ? 10 : 20);
i++; x++;

// Gradually fill screen
Expand Down

0 comments on commit 3d10777

Please sign in to comment.