Reverts: "Prioritize legacy upload when TFT is not detected"
Based on feedback from #1659
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user