some fixes for MPSoC

This commit is contained in:
2024-05-08 10:03:32 +02:00
parent 6bb12f28a1
commit b54f8e7738
3 changed files with 10 additions and 4 deletions

View File

@ -179,7 +179,8 @@ ReturnValue_t PlocMpsocSpecialComHelper::performFlashWrite() {
ReturnValue_t PlocMpsocSpecialComHelper::performFlashRead() {
std::error_code e;
std::ofstream ofile(flashReadAndWrite.obcFile, std::ios::trunc | std::ios::binary);
std::ofstream ofile(flashReadAndWrite.obcFile,
std::ios::trunc | std::ios::binary | std::ios::app);
if (ofile.bad()) {
return returnvalue::FAILED;
}