Преглед изворни кода

Merge branch 'bugfix/allow_buffering_on_stdout' into 'master'

protocol_examples_common: keep buffering enabled on stdout

See merge request espressif/esp-idf!8793
Mahavir Jain пре 5 година
родитељ
комит
5f5bf9e5ee
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      examples/common_components/protocol_examples_common/stdin_out.c

+ 0 - 1
examples/common_components/protocol_examples_common/stdin_out.c

@@ -17,7 +17,6 @@ esp_err_t example_configure_stdin_stdout(void)
 {
     // Initialize VFS & UART so we can use std::cout/cin
     setvbuf(stdin, NULL, _IONBF, 0);
-    setvbuf(stdout, NULL, _IONBF, 0);
     /* Install UART driver for interrupt-driven reads and writes */
     ESP_ERROR_CHECK( uart_driver_install( (uart_port_t)CONFIG_ESP_CONSOLE_UART_NUM,
             256, 0, 0, NULL, 0) );