Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cores/esp8266/Esp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ struct rst_info * EspClass::getResetInfoPtr(void) {
}

bool EspClass::eraseConfig(void) {
bool ret = true;
const size_t cfgSize = 0x4000;
size_t cfgAddr = ESP.getFlashChipSize() - cfgSize;

Expand Down
1 change: 1 addition & 0 deletions cores/esp8266/spiffs/spiffs_hydrogen.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ static s32_t spiffs_fflush_cache(spiffs *fs, spiffs_file fh);

#if SPIFFS_BUFFER_HELP
u32_t SPIFFS_buffer_bytes_for_filedescs(spiffs *fs, u32_t num_descs) {
(void)fs; // unused, avoid warning
return num_descs * sizeof(spiffs_fd);
}
#if SPIFFS_CACHE
Expand Down