minor fixes
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-03-08 11:57:27 +01:00
parent b2ad33a1c6
commit 3dbf66383a
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
3 changed files with 3 additions and 3 deletions

View File

@ -406,7 +406,7 @@ SdCardManager::OpStatus SdCardManager::checkCurrentOp(Operations& currentOp) {
bool bytesRead = false; bool bytesRead = false;
#if OBSW_ENABLE_TIMERS == 1 #if OBSW_ENABLE_TIMERS == 1
Countdown timer(100); Countdown timer(1000);
#endif #endif
while (true) { while (true) {
ReturnValue_t result = cmdExecutor.check(bytesRead); ReturnValue_t result = cmdExecutor.check(bytesRead);

View File

@ -75,7 +75,7 @@ ReturnValue_t readToFile(std::string name, std::ifstream& file, std::string& fil
int result = std::system(oss.str().c_str()); int result = std::system(oss.str().c_str());
if (result != 0) { if (result != 0) {
if (result == 256) { if (WEXITSTATUS(result) == 1) {
sif::warning << "scratch::readNumber: Key " << name << " does not exist" << std::endl; sif::warning << "scratch::readNumber: Key " << name << " does not exist" << std::endl;
// Could not find value // Could not find value
std::remove(filename.c_str()); std::remove(filename.c_str());

2
fsfw

@ -1 +1 @@
Subproject commit 3b497dbb8dae77f1cf28f50f7ba770c4256acd2d Subproject commit d63c01b96f2eb031eb4d568879dfee2e2151537a