mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 13:14:32 +02:00
Merge branch 'fix/console-deinit-deadlock-default-read' into 'master'
fix(console): Default read_func to the read function See merge request espressif/esp-idf!38299
This commit is contained in:
@@ -238,7 +238,7 @@ static void flushWrite(void) {
|
||||
fsync(fileno(stdout));
|
||||
}
|
||||
|
||||
static linenoise_read_bytes_fn read_func = NULL;
|
||||
static linenoise_read_bytes_fn read_func = read;
|
||||
void linenoiseSetReadFunction(linenoise_read_bytes_fn read_fn)
|
||||
{
|
||||
read_func = read_fn;
|
||||
|
Reference in New Issue
Block a user