forked from kofal.net/zmk
Fixes for loading without encoder drivers.
* Build fixes.
This commit is contained in:
@@ -19,17 +19,6 @@ if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_RIGHT
|
|||||||
config ZMK_SPLIT
|
config ZMK_SPLIT
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config EC11
|
|
||||||
default y
|
|
||||||
|
|
||||||
if EC11
|
|
||||||
|
|
||||||
choice EC11_TRIGGER
|
|
||||||
default EC11_TRIGGER_GLOBAL_THREAD
|
|
||||||
endchoice
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
if ZMK_DISPLAY
|
if ZMK_DISPLAY
|
||||||
|
|
||||||
config I2C
|
config I2C
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ static void zmk_sensors_init_item(const char *node, u8_t i, u8_t abs_i)
|
|||||||
sensors[i].sensor_number = abs_i;
|
sensors[i].sensor_number = abs_i;
|
||||||
|
|
||||||
if (!sensors[i].dev) {
|
if (!sensors[i].dev) {
|
||||||
LOG_ERR("Failed to find device for %s", node);
|
LOG_WRN("Failed to find device for %s", node);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sensor_trigger_set(sensors[i].dev, &sensors[i].trigger, zmk_sensors_trigger_handler);
|
sensor_trigger_set(sensors[i].dev, &sensors[i].trigger, zmk_sensors_trigger_handler);
|
||||||
|
|||||||
Reference in New Issue
Block a user