8000 Code cleanup by fabianoms · Pull Request #4509 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Code cleanup #4509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add an include to "spi_flash.h"
This was a necessary include so that SPI_FLASH_SEC_SIZE can be referenced.
  • Loading branch information
fabianoms authored Mar 13, 2018
commit e8b40d7923f497abfcd5636574d295f6a27deb3e
2 changes: 2 additions & 0 deletions cores/esp8266/flash_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
extern "C" {
#endif

#include "spi_flash.h"

int SPIEraseBlock(uint32_t block);
int SPIEraseSector(uint32_t sector);
int SPIRead(uint32_t addr, void *dest, size_t size);
Expand Down
0