Fix NaN for Limiting Rotation Rates #872

Merged
meggert merged 17 commits from limit-rot-rate-fix into main 2024-03-06 11:13:02 +01:00
Showing only changes of commit 39032249b2 - Show all commits

View File

@ -2140,7 +2140,6 @@ ReturnValue_t CoreController::actionUpdateLeapSeconds(const uint8_t *data) {
ReturnValue_t CoreController::initClockFromTimeFile() { ReturnValue_t CoreController::initClockFromTimeFile() {
using namespace GpsHyperion; using namespace GpsHyperion;
using namespace std; using namespace std;
std::string fileName = currMntPrefix + BACKUP_TIME_FILE; std::string fileName = currMntPrefix + BACKUP_TIME_FILE;
std::error_code e; std::error_code e;
if (sdcMan->isSdCardUsable(std::nullopt) and std::filesystem::exists(fileName, e) and if (sdcMan->isSdCardUsable(std::nullopt) and std::filesystem::exists(fileName, e) and