refactoring: same condition twice?
This commit is contained in:
parent
44ae3261d1
commit
5e448a7941
|
@ -623,7 +623,7 @@ static void blinkingThread(void *arg) {
|
|||
}
|
||||
#endif
|
||||
|
||||
if (!hasFirmwareError() && !hasFirmwareErrorFlag) {
|
||||
if (!hasFirmwareError()) {
|
||||
enginePins.communicationLedPin.setValue(0);
|
||||
}
|
||||
enginePins.warningLedPin.setValue(0);
|
||||
|
|
Loading…
Reference in New Issue