diff options
Diffstat (limited to 'board/hatch_fp/board_rw.c')
-rw-r--r-- | board/hatch_fp/board_rw.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/board/hatch_fp/board_rw.c b/board/hatch_fp/board_rw.c index a3dbcbf84f..40ab5092a7 100644 --- a/board/hatch_fp/board_rw.c +++ b/board/hatch_fp/board_rw.c @@ -5,10 +5,7 @@ #include "common.h" #include "console.h" -#include "fpsensor.h" #include "fpsensor_detect.h" -#include "fpsensor_elan.h" -#include "fpsensor_fpc.h" #include "gpio.h" #include "hooks.h" #include "registers.h" @@ -79,24 +76,6 @@ static void configure_fp_sensor_spi(void) void board_init_rw(void) { enum fp_transport_type ret_transport = get_fp_transport_type(); - enum fp_sensor_type sensor_type = get_fp_sensor_type(); - - if (sensor_type == FP_SENSOR_TYPE_ELAN) { - if (IS_ENABLED(CONFIG_FP_SENSOR_ELAN80) || - IS_ENABLED(CONFIG_FP_SENSOR_ELAN515)) { - fp_driver = &fp_driver_elan; - } - } else if (sensor_type == FP_SENSOR_TYPE_FPC) { - if (IS_ENABLED(CONFIG_FP_SENSOR_FPC1025) || - IS_ENABLED(CONFIG_FP_SENSOR_FPC1035) || - IS_ENABLED(CONFIG_FP_SENSOR_FPC1145)) { - fp_driver = &fp_driver_fpc; - } - } - - if (fp_driver == NULL) { - ccprints("Failed to get sensor type!"); - } if (ret_transport == FP_TRANSPORT_TYPE_UART) { /* |