Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/ui/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,18 @@ static bool io_ui_process(dispatcher_context_t *context, bool set_dirty) {
// We are not waiting for the client's input, nor we are doing computations on the device
io_clear_processing_timeout();

#ifdef REVAMPED_IO
do {
io_seproxyhal_io_heartbeat();
} while (!g_ux_flow_ended);
#else // !REVAMPED_IO
io_seproxyhal_general_status();
do {
io_seproxyhal_spi_recv(G_io_seproxyhal_spi_buffer, sizeof(G_io_seproxyhal_spi_buffer), 0);
io_seproxyhal_handle_event();
io_seproxyhal_general_status();
} while (io_seproxyhal_spi_is_status_sent() && !g_ux_flow_ended);
#endif // !REVAMPED_IO

// We're back at work, we want to show the "Processing..." screen when appropriate
io_start_processing_timeout();
Expand Down
Loading