diff --git a/non_catalog_apps/cli_bridge/cli_control.c b/non_catalog_apps/cli_bridge/cli_control.c index 557f0e8d..d5d354df 100644 --- a/non_catalog_apps/cli_bridge/cli_control.c +++ b/non_catalog_apps/cli_bridge/cli_control.c @@ -17,7 +17,8 @@ static void tx_handler(const uint8_t* buffer, size_t size) { furi_stream_buffer_send(cli_tx_stream, buffer, size, FuriWaitForever); } -static void tx_handler_stdout(const char* buffer, size_t size) { +static void tx_handler_stdout(const char* buffer, size_t size, void* context) { + UNUSED(context); tx_handler((const uint8_t*)buffer, size); } diff --git a/non_catalog_apps/mp_flipper/upython.c b/non_catalog_apps/mp_flipper/upython.c index 02c2caa0..289c6a98 100644 --- a/non_catalog_apps/mp_flipper/upython.c +++ b/non_catalog_apps/mp_flipper/upython.c @@ -10,7 +10,8 @@ volatile Action action = ActionNone; FuriString* file_path = NULL; volatile FuriThreadStdoutWriteCallback stdout_callback = NULL; -static void write_to_log_output(const char* data, size_t size) { +static void write_to_log_output(const char* data, size_t size, void* context) { + UNUSED(context); furi_log_tx((const uint8_t*)data, size); } diff --git a/non_catalog_apps/mp_flipper/upython_cli.c b/non_catalog_apps/mp_flipper/upython_cli.c index d41f25a8..eea2cde9 100644 --- a/non_catalog_apps/mp_flipper/upython_cli.c +++ b/non_catalog_apps/mp_flipper/upython_cli.c @@ -5,7 +5,8 @@ static FuriStreamBuffer* stdout_buffer = NULL; -static void write_to_stdout_buffer(const char* data, size_t size) { +static void write_to_stdout_buffer(const char* data, size_t size, void* context) { + UNUSED(context); furi_stream_buffer_send(stdout_buffer, data, size, 0); }