Unlock STR secondary slot #864

Merged
meggert merged 11 commits from str-secondary-fw-slot-update into main 2024-02-28 09:21:30 +01:00
Showing only changes of commit 2d92368240 - Show all commits

View File

@ -180,7 +180,7 @@ void StarTrackerHandler::loadTargetFirmwareFromPersistentCfg() {
if (ifile.is_open()) {
std::string targetStr;
std::getline(ifile, targetStr);
if (targetStr == "backup\n") {
if (targetStr == "backup") {
firmwareTargetRaw = static_cast<uint8_t>(startracker::FirmwareTarget::BACKUP);
meggert marked this conversation as resolved Outdated

what if it is on BACKUP and we want to change it back to MAIN

what if it is on `BACKUP` and we want to change it back to `MAIN`

this is manipulated using parameters

this is manipulated using parameters
}
}