Add missing typedef keyword and solve unused variable warning.

This commit is contained in:
Craig Leres 2018-11-14 09:30:46 -08:00
parent 65355d28dd
commit 71eff833a1

View 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,