[ FORK ] SPI flash memory control library forked from jyam/W25X40BV

Dependents:   11u35_usbLocalFilesystem

Fork of W25X40BV by Johnny Yam

Revision:
6:11e271d4fbc5
Parent:
4:b422cdc9d751
Child:
7:0811e70f6fc7
--- a/W25X40BV.h	Sat Mar 05 01:18:55 2016 +0000
+++ b/W25X40BV.h	Wed Mar 09 04:08:40 2016 +0000
@@ -60,7 +60,7 @@
     void writeStream(uint32_t addr, uint8_t* buf, uint32_t count);
     
     //! erase a page data(256bytes) on chip
-    void pageErase(uint8_t page);
+    void pageErase(uint16_t page);
 
     /** erase a block data(4Kbytes) on chip
     * @param block block number 0x0000 - 0x001F