SoC Calculator #754
@ -91,14 +91,13 @@ void PowerController::performControlOperation() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case InternalState::READY: {
|
case InternalState::READY: {
|
||||||
// if (mode != MODE_OFF) {
|
if (mode != MODE_OFF) {
|
||||||
sif::debug << "oh shit, now i gotta do something" << std::endl;
|
sif::debug << "oh shit, now i gotta do something" << std::endl;
|
||||||
calculateStateOfCharge();
|
calculateStateOfCharge();
|
||||||
if (mode == MODE_NORMAL) {
|
if (mode == MODE_NORMAL) {
|
||||||
watchStateOfCharge();
|
watchStateOfCharge();
|
||||||
}
|
}
|
||||||
// do something
|
}
|
||||||
//}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user