mirror of https://github.com/MLXXXp/Arduboy2.git
Start boot logo with a row visible on screen
The first time the boot logo was displayed, for scrolling it down, it was entirely off screen. It now starts with the lowest row of pixels visible.
This commit is contained in:
parent
205e84eae6
commit
6a8041f2fa
|
@ -171,7 +171,7 @@ void Arduboy2Base::bootLogoShell(void (*drawLogo)(int16_t))
|
|||
digitalWriteRGB(RED_LED, RGB_ON);
|
||||
}
|
||||
|
||||
for (int16_t y = -16; y <= 24; y++) {
|
||||
for (int16_t y = -15; y <= 24; y++) {
|
||||
if (pressed(RIGHT_BUTTON)) {
|
||||
digitalWriteRGB(RGB_OFF, RGB_OFF, RGB_OFF); // all LEDs off
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue