1
0
forked from fsfw/fsfw

some include guards, todo comments

This commit is contained in:
2020-06-23 10:27:44 +02:00
parent 64a02c55ba
commit c0beef4463
8 changed files with 14 additions and 10 deletions

View File

@ -137,7 +137,7 @@ void DeviceHandlerFailureIsolation::decrementFaultCounters() {
void DeviceHandlerFailureIsolation::handleRecovery(Event reason) {
clearFaultCounters();
if (!recoveryCounter.incrementAndCheck()) {
if (not recoveryCounter.incrementAndCheck()) {
startRecovery(reason);
} else {
setFaulty(reason);