nimaltd / spif

W25qxx, N25Qxx and other SPI FLASH driver for stm32 HAL
GNU General Public License v3.0
605 stars 173 forks source link

W25qxx_WriteSector #41

Open lilmgo opened 1 year ago

lilmgo commented 1 year ago

Hi, I found a problem with W25qxx_WriteSector. When NumByteToWrite_up_to_SectorSize is 0, the actual number of bytes to be written is PageSize minus OffsetInByte.

nimaltd commented 1 year ago

Hello. Could you correct this and send it to me please? thanks

nimaltd commented 7 months ago

I have updated the LIB. please try again for any devices you have. @lilmgo