removed unneeded variables
This commit is contained in:
parent
e6d9134005
commit
4aae1be4f8
1 changed files with 1 additions and 3 deletions
|
@ -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 */
|
||||
#endif /* ZMK_KEYMAP_HAS_SENSORS */
|
||||
|
|
Loading…
Add table
Reference in a new issue