mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[bootloader] Fix exam mode with Epsilon 16-19
This commit is contained in:
@@ -72,7 +72,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.0.9 - FREED0M.22";
|
||||
constexpr static const char * bootloaderVersion = "Version 1.0.10 - FREED0M.22.2";
|
||||
|
||||
//USB NAMES
|
||||
constexpr static const char * usbUpsilonBootloader = "NumWorks Calculator";
|
||||
|
||||
@@ -51,7 +51,7 @@ uint8_t SlotsExamMode::FetchSlotExamMode(const char * version, const char * Slot
|
||||
end = getSlotAEndExamAddress(0);
|
||||
}
|
||||
// Else versions before 22
|
||||
else if (version[0] == '2' && version[1] < '2') {
|
||||
else if ((version[0] == '2' && version[1] < '2') || (version[0] == '1')) {
|
||||
start = getSlotAStartExamAddress(1);
|
||||
end = getSlotAEndExamAddress(1);
|
||||
}
|
||||
@@ -68,7 +68,7 @@ uint8_t SlotsExamMode::FetchSlotExamMode(const char * version, const char * Slot
|
||||
end = getSlotBEndExamAddress(0);
|
||||
}
|
||||
// Else versions before 22
|
||||
else if (version[0] == '2' && version[1] < '2') {
|
||||
else if ((version[0] == '2' && version[1] < '2') || (version[0] == '1')) {
|
||||
start = getSlotBStartExamAddress(1);
|
||||
end = getSlotBEndExamAddress(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user