Browse Source

Fix baudrate reset (thx nano!)

Willy-JL 2 năm trước cách đây
mục cha
commit
f18238d7ea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      esp_flasher/esp_flasher_worker.c

+ 1 - 1
esp_flasher/esp_flasher_worker.c

@@ -256,7 +256,7 @@ static int32_t esp_flasher_flash_bin(void* context) {
 
         if(app->turbospeed) {
             loader_port_debug_print("Restoring transmission rate\n");
-            esp_flasher_uart_set_br(app->uart, FAST_BAUDRATE);
+            esp_flasher_uart_set_br(app->uart, BAUDRATE);
         }
 
         loader_port_debug_print(