Skip to content

Commit

Permalink
revert - pause charging @ 11.5v
Browse files Browse the repository at this point in the history
  • Loading branch information
cfranyota authored Mar 24, 2020
1 parent ce95679 commit 1f14fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/boardd/boardd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ bool loopback_can = false;
cereal::HealthData::HwType hw_type = cereal::HealthData::HwType::UNKNOWN;
bool is_pigeon = false;
const uint32_t NO_IGNITION_CNT_MAX = 2 * 60 * 60 * 2.0; // turn off charge after 2 hrs
const float VBATT_START_CHARGING = 11.8;
const float VBATT_PAUSE_CHARGING = 11.5;
const float VBATT_START_CHARGING = 11.5;
const float VBATT_PAUSE_CHARGING = 11.0;
float voltage_f = 12.5; // filtered voltage
uint32_t no_ignition_cnt = 0;
bool connected_once = false;
Expand Down

0 comments on commit 1f14fbc

Please sign in to comment.