fix(esp-modem): Uart Terminal read_cb race

This commit is contained in:
David Cermak
2022-10-10 15:39:09 +02:00
parent a9b5e66d0f
commit a02bf05eed
3 changed files with 13 additions and 15 deletions

View File

@ -122,6 +122,7 @@ private:
std::shared_ptr<Terminal> data_term; /*!< Secondary terminal for this DTE */
modem_mode mode; /*!< DTE operation mode */
SignalGroup signal; /*!< Event group used to signal request-response operations */
command_result result; /*!< Command result of the currently exectuted command */
std::function<bool(uint8_t *data, size_t len)> on_data; /*!< on data callback for current terminal */
};