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
|
timeout: 1s
|
||||||
|
|
||||||
### Attempt twice with upload engine from v4.1.4 (115200bps) when TFT isn't detected
|
### Attempt twice with upload engine from v4.1.4 (115200bps) when TFT isn't detected
|
||||||
- if:
|
# - if:
|
||||||
condition:
|
# condition:
|
||||||
- lambda: !lambda return (not id(tft_is_valid));
|
# - lambda: !lambda return (not id(tft_is_valid));
|
||||||
then:
|
# then:
|
||||||
- script.execute:
|
# - script.execute:
|
||||||
id: upload_tft_sequence_attempt_v414
|
# id: upload_tft_sequence_attempt_v414
|
||||||
url: !lambda return url.c_str();
|
# url: !lambda return url.c_str();
|
||||||
baud_rate: 115200
|
# baud_rate: 115200
|
||||||
- script.wait: upload_tft_sequence_attempt_v414
|
# - script.wait: upload_tft_sequence_attempt_v414
|
||||||
|
|
||||||
### Attempt twice at the target baud rate
|
### Attempt twice at the target baud rate
|
||||||
- script.execute:
|
- script.execute:
|
||||||
|
|||||||
Reference in New Issue
Block a user