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

@ -26,8 +26,10 @@ namespace esp_modem {
* @brief Uart Resource is a platform specific struct which is implemented separately for ESP_PLATFORM and linux target
*/
struct uart_resource {
explicit uart_resource(const esp_modem_dte_config *config, struct QueueDefinition** event_queue, int fd);
explicit uart_resource(const esp_modem_dte_config *config, QueueHandle_t* event_queue, int fd);
~uart_resource();
uart_port_t port{};
};