writing api for scratch buffer

This commit is contained in:
2021-07-09 16:57:34 +02:00
parent 567cc7eab2
commit 7facfaebff
7 changed files with 89 additions and 0 deletions

11
linux/utility/utility.cpp Normal file
View File

@ -0,0 +1,11 @@
#include "OBSWConfig.h"
#include "FSFWConfig.h"
#include "utility.h"
#include "fsfw/serviceinterface/ServiceInterface.h"
void utility::handleSystemError(int retcode, std::string function) {
#if OBSW_VERBOSE_LEVEL >= 1
sif::warning << function << ": System call failed with code " << retcode;
#endif
}