Skip to content

Commit

Permalink
1 hour turn off
Browse files Browse the repository at this point in the history
  • Loading branch information
cfranyota authored Jun 2, 2020
1 parent 6bb2e94 commit 777497b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/boardd/boardd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ bool fake_send = false;
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 * 30; // turn off charge after 30 hrs
const uint32_t NO_IGNITION_CNT_MAX = 2 * 60 * 60 * 1.0; // turn off charge after 1 hour
const float VBATT_START_CHARGING = 11.5;
const float VBATT_PAUSE_CHARGING = 11.0;
float voltage_f = 12.5; // filtered voltage
Expand Down

0 comments on commit 777497b

Please sign in to comment.