From 71eff833a1848bceaefdeb33e943a29b11bfdb1e Mon Sep 17 00:00:00 2001 From: Craig Leres Date: Wed, 14 Nov 2018 09:30:46 -0800 Subject: [PATCH] Add missing typedef keyword and solve unused variable warning. --- components/bootloader_support/include/esp_image_format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bootloader_support/include/esp_image_format.h b/components/bootloader_support/include/esp_image_format.h index d2dcfd312..6d332d810 100644 --- a/components/bootloader_support/include/esp_image_format.h +++ b/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,