Explorar o código

proper stdout fix

MX hai 1 ano
pai
achega
45fbfe9b47
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      cli_control.c

+ 2 - 1
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);
     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);
     tx_handler((const uint8_t*)buffer, size);
 }
 }