diff options
Diffstat (limited to 'board/servo_v4')
-rw-r--r-- | board/servo_v4/board.c | 5 | ||||
-rw-r--r-- | board/servo_v4/board.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/board/servo_v4/board.c b/board/servo_v4/board.c index 690e67b5fc..d0e1bd08be 100644 --- a/board/servo_v4/board.c +++ b/board/servo_v4/board.c @@ -12,7 +12,6 @@ #include "gpio.h" #include "hooks.h" #include "i2c.h" -#include "ina2xx.h" #include "queue_policies.h" #include "registers.h" #include "spi.h" @@ -440,10 +439,6 @@ static void board_init(void) */ pd_set_max_voltage(PD_MIN_MV); - /* Calibrate INA0 (PP_DUT) and INA1 (PP_CHG) */ - ina2xx_init(0, 0x8000 /* Reset */, INA2XX_CALIB_1MA(5 /* mOhm */)); - ina2xx_init(1, 0x8000 /* Reset */, INA2XX_CALIB_1MA(5 /* mOhm */)); - hook_call_deferred(&ccd_measure_sbu_data, 1000 * MSEC); } diff --git a/board/servo_v4/board.h b/board/servo_v4/board.h index ff2ae855b7..3db2478ae4 100644 --- a/board/servo_v4/board.h +++ b/board/servo_v4/board.h @@ -90,7 +90,6 @@ /* PD features */ #define CONFIG_ADC -#define CONFIG_INA231 #define CONFIG_BOARD_PRE_INIT /* * If task profiling is enabled then the rx falling edge detection interrupts |