Make the component compatible with IDFv4.1, v4.2, v4.3

This commit is contained in:
David Cermak
2021-05-21 16:05:37 +02:00
parent a67d74999e
commit 69ad3ea589
12 changed files with 72 additions and 8 deletions

View File

@ -23,7 +23,7 @@ namespace esp_modem {
constexpr const char *TAG = "uart_resource";
uart_resource::uart_resource(const esp_modem_dte_config *config, struct QueueDefinition** event_queue, int fd): port(-1)
uart_resource::uart_resource(const esp_modem_dte_config *config, QueueHandle_t* event_queue, int fd): port(-1)
{
ESP_LOGD(TAG, "Creating uart resource" );
struct termios tty = {};