WIP: develop_update #706

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

View File

@ -23,12 +23,13 @@ class ManualCsLockWrapper : public HasReturnvaluesIF {
}
~ManualCsLockWrapper() {
if (lockResult == RETURN_OK) {
lock->unlockMutex();
}
if (gpioResult == RETURN_OK) {
gpioIF->pullHigh(cookie->getChipSelectPin());
}
cookie->setCsLockManual(false);
if (lockResult == RETURN_OK) {
lock->unlockMutex();
}
}
ReturnValue_t lockResult;
ReturnValue_t gpioResult;