small bugfix
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2024-02-19 17:23:02 +01:00
parent 9a1d91c261
commit 2d92368240
Signed by: muellerr
GPG Key ID: A649FB78196E3849

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);
}
}