This commit is contained in:
parent
9a1d91c261
commit
2d92368240
@ -180,7 +180,7 @@ void StarTrackerHandler::loadTargetFirmwareFromPersistentCfg() {
|
|||||||
if (ifile.is_open()) {
|
if (ifile.is_open()) {
|
||||||
std::string targetStr;
|
std::string targetStr;
|
||||||
std::getline(ifile, targetStr);
|
std::getline(ifile, targetStr);
|
||||||
if (targetStr == "backup\n") {
|
if (targetStr == "backup") {
|
||||||
firmwareTargetRaw = static_cast<uint8_t>(startracker::FirmwareTarget::BACKUP);
|
firmwareTargetRaw = static_cast<uint8_t>(startracker::FirmwareTarget::BACKUP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user