forked from espressif/esp-idf
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
This commit is contained in:
@@ -664,7 +664,7 @@ esp_err_t spi_flash_read(size_t src, void *dstv, size_t size)
|
||||
return spi_flash_translate_rc(err);
|
||||
}
|
||||
|
||||
esp_err_t spi_flash_unlock()
|
||||
esp_err_t spi_flash_unlock(void)
|
||||
{
|
||||
esp_err_t err = esp_flash_set_chip_write_protect(NULL, false);
|
||||
return spi_flash_translate_rc(err);
|
||||
|
Reference in New Issue
Block a user