File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -273,31 +273,6 @@ script:
273273 disp1->send_command_printf("baud=%" PRIu32, static_cast<uint32_t>(${BAUD_RATE_FALLBACK}));
274274 }
275275
276- - delay : !lambda return ${BAUD_RATE_UPGRADE_PROBE_MS};
277-
278- - lambda : |-
279- if (!system_flags.baud_fallback_active) return;
280-
281- if (tf_uart->available() > 0) {
282- // Flush probe response
283- while (tf_uart->available()) {
284- uint8_t discard;
285- tf_uart->read_byte(&discard);
286- }
287- system_flags.baud_fallback_active = false;
288- ESP_LOGI("${TAG_HW_UART}", "Baud upgrade: success - now at %" PRIu32 " bps",
289- static_cast<uint32_t>(${BAUD_RATE}));
290- boot_log->execute("Baud", "Upgraded to primary rate");
291- } else {
292- // Probe failed - revert UART to fallback before next attempt
293- ESP_LOGW("${TAG_HW_UART}", "Baud upgrade: probe failed on attempt %u - reverting UART",
294- static_cast<unsigned>(iteration + 1u));
295- tf_uart->set_baud_rate(${BAUD_RATE_FALLBACK});
296- tf_uart->load_settings();
297- baud_rate_active->update();
298- disp1->send_command_printf("baud=%" PRIu32, static_cast<uint32_t>(${BAUD_RATE_FALLBACK}));
299- }
300-
301276 - delay : 500ms
302277
303278 - lambda : |-
You can’t perform that action at this time.
0 commit comments