fixup! feat: Refactor behaviors, sensor to raise behavior_binding_event

This commit is contained in:
Nicolas Munnich 2025-03-19 00:42:25 +01:00 committed by Nicolas Munnich
parent ba97499594
commit 43051e780f
1 changed files with 4 additions and 0 deletions

View File

@ -209,4 +209,8 @@ static int zmk_sensors_init(void) {
SYS_INIT(zmk_sensors_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY);
#else /* ZMK_KEYMAP_HAS_SENSORS */
struct zmk_sensor_data sensor_data[0] = {};
struct zmk_sensor_data *zmk_sensor_get_data(uint32_t sensor_idx) { return NULL; };
#endif /* ZMK_KEYMAP_HAS_SENSORS */