mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 06:54:19 +00:00
Allow setting view_dispatcher callbacks to NULL again (#3580)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
94c2d7a4e3
commit
00970a4b12
1 changed files with 0 additions and 3 deletions
|
@ -51,7 +51,6 @@ void view_dispatcher_set_navigation_event_callback(
|
|||
ViewDispatcher* view_dispatcher,
|
||||
ViewDispatcherNavigationEventCallback callback) {
|
||||
furi_check(view_dispatcher);
|
||||
furi_check(callback);
|
||||
view_dispatcher->navigation_event_callback = callback;
|
||||
}
|
||||
|
||||
|
@ -59,7 +58,6 @@ void view_dispatcher_set_custom_event_callback(
|
|||
ViewDispatcher* view_dispatcher,
|
||||
ViewDispatcherCustomEventCallback callback) {
|
||||
furi_check(view_dispatcher);
|
||||
furi_check(callback);
|
||||
view_dispatcher->custom_event_callback = callback;
|
||||
}
|
||||
|
||||
|
@ -68,7 +66,6 @@ void view_dispatcher_set_tick_event_callback(
|
|||
ViewDispatcherTickEventCallback callback,
|
||||
uint32_t tick_period) {
|
||||
furi_check(view_dispatcher);
|
||||
furi_check(callback);
|
||||
view_dispatcher->tick_event_callback = callback;
|
||||
view_dispatcher->tick_period = tick_period;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue