]> granicus.if.org Git - esp-idf/commitdiff
bootloader: fix missing typedef on enum defintion
authorweyoui <weweyouyouii@gmail.com>
Tue, 3 Jul 2018 02:58:34 +0000 (11:58 +0900)
committerMichael (XIAO Xufeng) <xiaoxufeng@espressif.com>
Thu, 12 Jul 2018 09:43:59 +0000 (17:43 +0800)
(MINOR CHANGES)
Closes https://github.com/espressif/esp-idf/pull/2140

components/bootloader_support/include/esp_image_format.h

index d2dcfd312cd0ce9e33b3cf91fb2ffd44dc1f1503..6d332d810f3545a91d4f25b1095ebecdc1b7ceef 100644 (file)
@@ -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,