fix boardd build

pull/1977/head
Comma Device 5 years ago
parent 60e2267f02
commit a228c4d0a0
  1. 2
      selfdrive/boardd/boardd.cc

@ -37,7 +37,7 @@
#define NIBBLE_TO_HEX(n) ((n) < 10 ? (n) + '0' : ((n) - 10) + 'a') #define NIBBLE_TO_HEX(n) ((n) < 10 ? (n) + '0' : ((n) - 10) + 'a')
#define VOLTAGE_K 0.091 // LPF gain for 5s tau (dt/tau / (dt/tau + 1)) #define VOLTAGE_K 0.091 // LPF gain for 5s tau (dt/tau / (dt/tau + 1))
#ifndef __x86_64__ #ifdef QCOM
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 * 30; // turn off charge after 30 hrs
const float VBATT_START_CHARGING = 11.5; const float VBATT_START_CHARGING = 11.5;
const float VBATT_PAUSE_CHARGING = 11.0; const float VBATT_PAUSE_CHARGING = 11.0;

Loading…
Cancel
Save