Просмотр исходного кода

Fix baudrate reset (thx nano!)

Willy-JL 2 лет назад
Родитель
Сommit
f18238d7ea
1 измененных файлов с 1 добавлено и 1 удалено
  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(