mirror of
https://github.com/esphome/esphome.git
synced 2025-01-12 07:33:19 +01:00
lint
This commit is contained in:
parent
d85c645c23
commit
cd363d104e
2 changed files with 8 additions and 8 deletions
|
@ -9,13 +9,6 @@
|
|||
#include <esp_idf_version.h>
|
||||
#include <esp_task_wdt.h>
|
||||
|
||||
#define ESPHL_ERROR_CHECK(err, message) \
|
||||
if ((err) != ESP_OK) { \
|
||||
ESP_LOGE(TAG, message ": (%d) %s", err, esp_err_to_name(err)); \
|
||||
this->mark_failed(); \
|
||||
return; \
|
||||
}
|
||||
|
||||
namespace esphome {
|
||||
namespace modem {
|
||||
|
||||
|
@ -48,4 +41,4 @@ class Watchdog {
|
|||
|
||||
} // namespace modem
|
||||
} // namespace esphome
|
||||
#endif // USE_ESP_IDF
|
||||
#endif // USE_ESP_IDF
|
||||
|
|
|
@ -20,6 +20,13 @@
|
|||
#include <cstring>
|
||||
#include <iostream>
|
||||
|
||||
#define ESPHL_ERROR_CHECK(err, message) \
|
||||
if ((err) != ESP_OK) { \
|
||||
ESP_LOGE(TAG, message ": (%d) %s", err, esp_err_to_name(err)); \
|
||||
this->mark_failed(); \
|
||||
return; \
|
||||
}
|
||||
|
||||
static const size_t CONFIG_MODEM_UART_RX_BUFFER_SIZE = 2048;
|
||||
static const size_t CONFIG_MODEM_UART_TX_BUFFER_SIZE = 1024;
|
||||
static const uint8_t CONFIG_MODEM_UART_EVENT_QUEUE_SIZE = 30;
|
||||
|
|
Loading…
Reference in a new issue