From a228c4d0a077097cf14eb770570bec1727d57d0c Mon Sep 17 00:00:00 2001 From: Comma Device Date: Wed, 12 Aug 2020 09:02:13 +0000 Subject: [PATCH] fix boardd build --- selfdrive/boardd/boardd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index df865db27a..a3bb2b0b4c 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -37,7 +37,7 @@ #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)) -#ifndef __x86_64__ +#ifdef QCOM 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_PAUSE_CHARGING = 11.0;