Skip to content

Commit

Permalink
removed unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
takurot committed Apr 22, 2024
1 parent d84cf05 commit 44e15b2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ class auto_charger { // Variables Half-Implemented (Not Thermistors ADC)
}
bool is_docked() const {
return is_connected() && !temperature_error && !is_overheat() && heartbeat_timer.elapsed_time() < 5s;
// return is_charger_ready() && is_connected() && !temperature_error && !is_overheat() && heartbeat_timer.elapsed_time() < 5s;
}
void set_enable(bool enable) {
sw.write(enable ? 1 : 0);
Expand Down Expand Up @@ -904,8 +903,6 @@ class state_controller { // Variables Implemented
LOG("docked to auto charger\n");
set_new_state(POWER_STATE::AUTO_CHARGE);
}
// LOG("docked to auto charger\n");
// set_new_state(POWER_STATE::AUTO_CHARGE);
}
break;
case POWER_STATE::AUTO_CHARGE:
Expand Down

0 comments on commit 44e15b2

Please sign in to comment.