Skip to content

Commit

Permalink
Don't restart on buffer_overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Dec 10, 2024
1 parent 939ec18 commit a26e7dc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions esphome/nspanel_esphome_core_hw_display.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -525,14 +525,14 @@ script:
- number.increment:
id: display_command_spacing
cycle: false
- if:
condition:
- lambda: return global_preferences->sync();
then:
- lambda: |-
ESP_LOGE("script", "Restarting ESP to avoid getting out of sync with Nextion");
- delay: 2s
- lambda: arch_restart();
#- if:

Check warning on line 528 in esphome/nspanel_esphome_core_hw_display.yaml

View workflow job for this annotation

GitHub Actions / Code scan (YAML)

528:8 [comments] missing starting space in comment

Check warning on line 528 in esphome/nspanel_esphome_core_hw_display.yaml

View workflow job for this annotation

GitHub Actions / Code scan (YAML)

528:7 [comments-indentation] comment not indented like content
# condition:
# - lambda: return global_preferences->sync();
# then:
# - lambda: |-
# ESP_LOGE("script", "Restarting ESP to avoid getting out of sync with Nextion");
# - delay: 2s
# - lambda: arch_restart();

- id: display_wrapped_text
mode: queued
Expand Down

0 comments on commit a26e7dc

Please sign in to comment.