diff options
Diffstat (limited to 'app/src/sensors.c')
-rw-r--r-- | app/src/sensors.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/sensors.c b/app/src/sensors.c index 0a86109..501ce15 100644 --- a/app/src/sensors.c +++ b/app/src/sensors.c @@ -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; 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); |