diff --git a/app/src/sensors.c b/app/src/sensors.c index 15f374b3..b04b9549 100644 --- a/app/src/sensors.c +++ b/app/src/sensors.c @@ -72,8 +72,6 @@ static void zmk_sensors_init_item(const char *node, u8_t i, u8_t abs_i) { (_SENSOR_INIT(ZMK_KEYMAP_SENSORS_BY_IDX(idx))), (absolute_index++;)) static int zmk_sensors_init(struct device *_arg) { - int local_index = 0; - int absolute_index = 0; UTIL_LISTIFY(ZMK_KEYMAP_SENSORS_LEN, SENSOR_INIT, 0) return 0; @@ -81,4 +79,4 @@ static int zmk_sensors_init(struct device *_arg) { SYS_INIT(zmk_sensors_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY); -#endif /* ZMK_KEYMAP_HAS_SENSORS */ \ No newline at end of file +#endif /* ZMK_KEYMAP_HAS_SENSORS */