ソースを参照

bootloader: fix missing typedef on enum defintion

(MINOR CHANGES)
Closes https://github.com/espressif/esp-idf/pull/2140
weyoui 7 年 前
コミット
24e7286693
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;
 
 /* SPI flash clock frequency */
-enum {
+typedef enum {
     ESP_IMAGE_SPI_SPEED_40M,
     ESP_IMAGE_SPI_SPEED_26M,
     ESP_IMAGE_SPI_SPEED_20M,