forked from kofal.net/zmk
refactor(core): Move to stack allocated events.
* Move to local/stack allocated event API that doesn't require dynamic allocation/freeing. * Disable heap, we no longer use alloc/free unless using LVGL. * Tons of refactors all over to account for the new event approach.
This commit is contained in:
committed by
Pete Johanson
parent
50e473276f
commit
33209dee1d
@@ -346,8 +346,7 @@ static void update_current_endpoint(void) {
|
||||
zmk_endpoint_instance_to_str(current_instance, endpoint_str, sizeof(endpoint_str));
|
||||
LOG_INF("Endpoint changed: %s", endpoint_str);
|
||||
|
||||
ZMK_EVENT_RAISE(
|
||||
new_zmk_endpoint_changed((struct zmk_endpoint_changed){.endpoint = current_instance}));
|
||||
raise_zmk_endpoint_changed((struct zmk_endpoint_changed){.endpoint = current_instance});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user