|
@@ -126,8 +126,7 @@ static int32_t uart_echo_worker(void* context) {
|
|
|
} while(length > 0);
|
|
} while(length > 0);
|
|
|
|
|
|
|
|
notification_message(app->notification, &sequence_notification);
|
|
notification_message(app->notification, &sequence_notification);
|
|
|
- with_view_model(
|
|
|
|
|
- app->view, UartDumpModel * model, { UNUSED(model); }, true);
|
|
|
|
|
|
|
+ with_view_model(app->view, UartDumpModel * model, { UNUSED(model); }, true);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -145,7 +144,7 @@ static UartEchoApp* uart_echo_app_alloc() {
|
|
|
|
|
|
|
|
// View dispatcher
|
|
// View dispatcher
|
|
|
app->view_dispatcher = view_dispatcher_alloc();
|
|
app->view_dispatcher = view_dispatcher_alloc();
|
|
|
- view_dispatcher_enable_queue(app->view_dispatcher);
|
|
|
|
|
|
|
+
|
|
|
view_dispatcher_attach_to_gui(app->view_dispatcher, app->gui, ViewDispatcherTypeFullscreen);
|
|
view_dispatcher_attach_to_gui(app->view_dispatcher, app->gui, ViewDispatcherTypeFullscreen);
|
|
|
|
|
|
|
|
// Views
|
|
// Views
|