From 6a8041f2faf71ef118c439af2cab9e27c1311292 Mon Sep 17 00:00:00 2001 From: Scott Allen Date: Wed, 24 Jun 2020 15:53:13 -0400 Subject: [PATCH] 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. --- src/Arduboy2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arduboy2.cpp b/src/Arduboy2.cpp index 772af5c..58ac0bd 100644 --- a/src/Arduboy2.cpp +++ b/src/Arduboy2.cpp @@ -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;