mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
Merge branch 'sle118:master-v4.3' into led_visu-v4.3
This commit is contained in:
@@ -313,8 +313,8 @@ void initialize_console() {
|
||||
vfs.open = stdin_dummy;
|
||||
vfs.read = stdin_read;
|
||||
|
||||
ESP_ERROR_CHECK(esp_vfs_register("/dev/console", &vfs, NULL));
|
||||
freopen("/dev/console", "r", stdin);
|
||||
ESP_ERROR_CHECK(esp_vfs_register("/dev/redirect", &vfs, NULL));
|
||||
freopen("/dev/redirect", "r", stdin);
|
||||
|
||||
/* Disable buffering on stdin */
|
||||
setvbuf(stdin, NULL, _IONBF, 0);
|
||||
|
||||
Reference in New Issue
Block a user