Reverts: "Prioritize legacy upload when TFT is not detected"

Based on feedback from #1659
This commit is contained in:
Edward Firmo
2024-01-17 14:05:47 +01:00
parent b94b9ffd2e
commit 2473816f34

View File

@@ -384,15 +384,15 @@ script:
timeout: 1s
### Attempt twice with upload engine from v4.1.4 (115200bps) when TFT isn't detected
- if:
condition:
- lambda: !lambda return (not id(tft_is_valid));
then:
- script.execute:
id: upload_tft_sequence_attempt_v414
url: !lambda return url.c_str();
baud_rate: 115200
- script.wait: upload_tft_sequence_attempt_v414
# - if:
# condition:
# - lambda: !lambda return (not id(tft_is_valid));
# then:
# - script.execute:
# id: upload_tft_sequence_attempt_v414
# url: !lambda return url.c_str();
# baud_rate: 115200
# - script.wait: upload_tft_sequence_attempt_v414
### Attempt twice at the target baud rate
- script.execute: