diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index ad6363440faf42..46e3d732a3572a 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -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