فهرست منبع

Merge branch 'fix/bootloader_typedef_enum' into 'master'

bootloader: fix missing typedef on enum defintion

See merge request idf/esp-idf!2718
Angus Gratton 7 سال پیش
والد
کامیت
ffaf08e851
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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,