remove comments for mode handling
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Marius Eggert 2023-09-28 12:00:48 +02:00
parent 173ee62d39
commit a3ed2791b7

View File

@ -91,14 +91,13 @@ void PowerController::performControlOperation() {
return;
}
case InternalState::READY: {
// if (mode != MODE_OFF) {
sif::debug << "oh shit, now i gotta do something" << std::endl;
calculateStateOfCharge();
if (mode == MODE_NORMAL) {
watchStateOfCharge();
if (mode != MODE_OFF) {
sif::debug << "oh shit, now i gotta do something" << std::endl;
calculateStateOfCharge();
if (mode == MODE_NORMAL) {
watchStateOfCharge();
}
}
// do something
//}
break;
}
default: