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:
Scott Allen 2020-06-24 15:53:13 -04:00
parent 205e84eae6
commit 6a8041f2fa
1 changed files with 1 additions and 1 deletions

View File

@ -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;