mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
FIX: 'spiffs : fixes the device going rouge with bad memory reading' Thanks @megabug
This commit is contained in:
parent
71c5ae1e1e
commit
6f9ec6dd24
1 changed files with 3 additions and 3 deletions
|
@ -96,9 +96,9 @@ static s32_t rdv40_spiffs_llerase(u32_t addr, u32_t size) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
////// SPIFFS LOW LEVEL OPERATIONS /////////////////////////////////////////////
|
||||
static u8_t spiffs_work_buf[RDV40_SPIFFS_WORKBUF_SZ];
|
||||
static u8_t spiffs_fds[RDV40_SPIFFS_FDBUF_SZ];
|
||||
static u8_t spiffs_cache_buf[RDV40_SPIFFS_CACHE_SZ];
|
||||
static u8_t spiffs_work_buf[RDV40_SPIFFS_WORKBUF_SZ] __attribute__((aligned));
|
||||
static u8_t spiffs_fds[RDV40_SPIFFS_FDBUF_SZ] __attribute__((aligned));
|
||||
static u8_t spiffs_cache_buf[RDV40_SPIFFS_CACHE_SZ] __attribute__((aligned));
|
||||
|
||||
static spiffs fs;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue