Fix workflow and auto updater webui filenames

This commit is contained in:
Djuri 2024-12-18 22:20:40 +01:00
parent 1a4bc9b711
commit c989169ff4
4 changed files with 16 additions and 4 deletions

View file

@ -799,6 +799,19 @@ const char* getFirmwareFilename() {
}
}
const char* getWebUiFilename() {
if (HW_REV == "REV_B_EPD_2_13") {
return "littlefs_8MB.bin";
} else if (HW_REV == "REV_A_EPD_2_13") {
return "littlefs_4MB.bin";
} else if (HW_REV == "REV_A_EPD_2_9") {
return "littlefs_4MB.bin";
} else {
return "littlefs_4MB.bin";
}
}
// void loadIcons() {
// size_t ocean_logo_size = 886;