mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
5b88c6b142
For usb_serial_jtag REPL only, xTaskCreate was passing a pointer to esp_console_repl_com_t, while esp_console_repl_task was expecting a pointer to esp_console_repl_universal_t. The way the two structures are defined, this makes no difference, and the pointer values are the same. Still, this could potentially break in the future. (I am not sure what is the distinction between repl_com (common?) and repl_universal; it seems that `int uart_channel` could just as well be part of esp_console_repl_com_t; alternatively, as suggested in the previous commit, this structure could contain a callback function pointer, which would allow `esp_console_new_repl_*` functions to specify how stdin/stdout should be initialized by the REPL task.) |
||
---|---|---|
.. | ||
argtable3 | ||
linenoise | ||
test | ||
CMakeLists.txt | ||
commands.c | ||
esp_console_repl.c | ||
esp_console.h | ||
split_argv.c |