Explorar el Código

Merge branch 'fix/bootloader_typedef_enum' into 'master'

bootloader: fix missing typedef on enum defintion

See merge request idf/esp-idf!2718
Angus Gratton hace 7 años
padre
commit
ffaf08e851
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/bootloader_support/include/esp_image_format.h

+ 1 - 1
components/bootloader_support/include/esp_image_format.h

@@ -36,7 +36,7 @@ typedef enum {
 } esp_image_spi_mode_t;
 } esp_image_spi_mode_t;
 
 
 /* SPI flash clock frequency */
 /* SPI flash clock frequency */
-enum {
+typedef enum {
     ESP_IMAGE_SPI_SPEED_40M,
     ESP_IMAGE_SPI_SPEED_40M,
     ESP_IMAGE_SPI_SPEED_26M,
     ESP_IMAGE_SPI_SPEED_26M,
     ESP_IMAGE_SPI_SPEED_20M,
     ESP_IMAGE_SPI_SPEED_20M,