v7.5.0 #828

Merged
muellerr merged 96 commits from dev-7.5.0 into main 2023-12-06 17:44:23 +01:00
Showing only changes of commit 1d51bfba3d - Show all commits

View File

@ -1045,9 +1045,9 @@ ReturnValue_t AcsController::writeTleToFs(const uint8_t *tle) {
// Clear existing TLE from file // Clear existing TLE from file
std::ofstream tleFile(path.c_str(), std::ofstream::out | std::ofstream::trunc); std::ofstream tleFile(path.c_str(), std::ofstream::out | std::ofstream::trunc);
if (tleFile.is_open()) { if (tleFile.is_open()) {
tleFile.write(static_cast<char *>(tle), 69); tleFile.write(reinterpret_cast<const char *>(tle), 69);
tleFile << "\n"; tleFile << "\n";
tleFile.write(static_cast<char *>(tle + 69), 69); tleFile.write(reinterpret_cast<const char *>(tle + 69), 69);
} else { } else {
// return error // return error
} }