diff --git a/mission/controller/PowerController.cpp b/mission/controller/PowerController.cpp index 1eb3abaf..9347f681 100644 --- a/mission/controller/PowerController.cpp +++ b/mission/controller/PowerController.cpp @@ -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: