WIP: develop_update #706

Draft
muellerr wants to merge 710 commits from eive/fsfw:develop_update into development
1 changed files with 5 additions and 1 deletions
Showing only changes of commit 8f95b03e6a - Show all commits

View File

@ -67,7 +67,11 @@ ReturnValue_t UioMapper::getMapSize(size_t* size) {
#endif
return HasReturnvaluesIF::RETURN_FAILED;
}
items = sscanf(hexstring, "%lx", size);
uint32_t sizeTmp = 0;
items = sscanf(hexstring, "%x", &sizeTmp);
if(size != nullptr) {
*size = sizeTmp;
}
if (items != 1) {
#if FSFW_CPP_OSTREAM_ENABLED == 1
sif::warning << "UioMapper::getMapSize: Failed with error code " << errno << "to convert "