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

This commit is contained in:
David Cermak committed 2021-10-04 11:32:55 +02:00
1 parent a67d74999e
commit 69ad3ea589
12 files changed
+72 -8

No files matched your search

@@ -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 = {};