1
0
forked from me/IronOS

flash api simpler

Update flash.c
This commit is contained in:
Ben V. Brown
2022-10-22 11:23:12 +11:00
parent 23eb7504fb
commit 77930a386c
5 changed files with 8 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ extern "C" {
*/
// Erase the flash, then save the buffer. Returns 1 if worked
uint8_t flash_save_buffer(const uint8_t *buffer, const uint16_t length);
void flash_save_buffer(const uint8_t *buffer, const uint16_t length);
void flash_read_buffer(uint8_t *buffer, const uint16_t length);
#ifdef __cplusplus