mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
disable CONFIG_UART_ISR_IN_IRAM
This commit is contained in:
parent
7e09c54490
commit
671c71c406
2 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,7 @@ async def to_code(config):
|
|||
add_idf_sdkconfig_option("CONFIG_PPP_CHAP_SUPPORT", True)
|
||||
add_idf_sdkconfig_option("CONFIG_LWIP_PPP_VJ_HEADER_COMPRESSION", True)
|
||||
add_idf_sdkconfig_option("CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT", True)
|
||||
add_idf_sdkconfig_option("CONFIG_UART_ISR_IN_IRAM", True)
|
||||
# add_idf_sdkconfig_option("CONFIG_UART_ISR_IN_IRAM", True)
|
||||
|
||||
cg.add_define("USE_MODEM")
|
||||
|
||||
|
|
|
@ -256,6 +256,7 @@ void ModemComponent::loop() {
|
|||
|
||||
switch (this->state_) {
|
||||
case ModemComponentState::STOPPED:
|
||||
set_wdt(60);
|
||||
if (this->started_) {
|
||||
if (!this->modem_ready()) {
|
||||
ESP_LOGD(TAG, "Modem not responding. Trying to recover...");
|
||||
|
@ -279,6 +280,7 @@ void ModemComponent::loop() {
|
|||
this->start_connect_();
|
||||
}
|
||||
}
|
||||
set_wdt(CONFIG_TASK_WDT_TIMEOUT_S);
|
||||
break;
|
||||
case ModemComponentState::CONNECTING:
|
||||
if (!this->started_) {
|
||||
|
|
Loading…
Reference in a new issue