0xchocolate 2 лет назад
Родитель
Сommit
b28f122554
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      esp_flasher_worker.h

+ 2 - 0
esp_flasher_worker.h

@@ -2,7 +2,9 @@
 
 
 #include "esp_flasher_app_i.h"
 #include "esp_flasher_app_i.h"
 #include "esp_flasher_uart.h"
 #include "esp_flasher_uart.h"
+#ifndef SERIAL_FLASHER_INTERFACE_UART
 #define SERIAL_FLASHER_INTERFACE_UART /* TODO why is application.fam not passing this via cdefines */
 #define SERIAL_FLASHER_INTERFACE_UART /* TODO why is application.fam not passing this via cdefines */
+#endif
 #include "esp_loader_io.h"
 #include "esp_loader_io.h"
 
 
 #define ESP_ADDR_BOOT_S3 0x0
 #define ESP_ADDR_BOOT_S3 0x0