mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[bootloader] Skip animation on keyboard event
This commit is contained in:
@@ -69,7 +69,12 @@ void Interface::drawLoading() {
|
||||
for (uint8_t i = 0; i < strlen(Messages::mainTitle); i++) {
|
||||
char tmp[2] = {Messages::mainTitle[i], '\0'};
|
||||
ctx->drawString(tmp, KDPoint(initPos + i * (fontSize.width()), ImageStore::Computer->height() + 25 + 10), KDFont::LargeFont, KDColorBlack, KDColorWhite);
|
||||
Ion::Timing::msleep(50);
|
||||
|
||||
int t = 50;
|
||||
Ion::Events::Event e = Ion::Events::getEvent(&t);
|
||||
if (e.isKeyboardEvent()){
|
||||
return;
|
||||
}
|
||||
}
|
||||
Ion::Timing::msleep(500);
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
constexpr static const char * aboutMessage4 = "and select the OS";
|
||||
constexpr static const char * aboutMessage5 = "to boot.";
|
||||
|
||||
constexpr static const char * bootloaderVersion = "Version 1.1.1 - RECOVER.24.4";
|
||||
constexpr static const char * bootloaderVersion = "Version 1.1.2 - RECOVER.24.4";
|
||||
|
||||
//USB NAMES
|
||||
constexpr static const char * usbUpsilonBootloader = "NumWorks Calculator";
|
||||
|
||||
Reference in New Issue
Block a user