mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-04-20 19:12:13 +02:00
updated gitignore file
This commit is contained in:
parent
08bab05343
commit
51109a16c5
4 changed files with 10 additions and 7 deletions
|
|
@ -92,10 +92,8 @@ void setup() {
|
|||
#if ESP_ARDUINO_VERSION_MAJOR >= 3
|
||||
const esp_task_wdt_config_t wdt_config = { .timeout_ms = 15000, .idle_core_mask = 1, .trigger_panic = true };
|
||||
esp_task_wdt_init(&wdt_config);
|
||||
ESP_LOGE(TAG, "TEST 1");
|
||||
#else
|
||||
esp_task_wdt_init(15, true); //enable panic so ESP32 restarts
|
||||
ESP_LOGE(TAG, "TEST 2");
|
||||
#endif
|
||||
esp_task_wdt_add(NULL); //add current thread to WDT watch
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue