SPIInterface -> FlashInterface

This commit is contained in:
Gwenhael Goavec-Merou
2026-03-21 07:59:18 +01:00
parent 09838fa825
commit 1ff73f3650
28 changed files with 118 additions and 118 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
#include "display.hpp"
#include "spiFlash.hpp"
#include "spiFlashdb.hpp"
#include "spiInterface.hpp"
#include "flashInterface.hpp"
/* read/write status register : 0B addr + 0 dummy */
#define FLASH_WRSR 0x01
@@ -84,7 +84,7 @@
/* Global Block Protection unlock */
#define FLASH_ULBPR 0x98
SPIFlash::SPIFlash(SPIInterface *spi, bool unprotect, int8_t verbose):
SPIFlash::SPIFlash(FlashInterface *spi, bool unprotect, int8_t verbose):
_spi(spi), _verbose(verbose), _jedec_id(0),
_flash_model(NULL), _unprotect(unprotect), _must_relock(false),
_status(0)