Fix flash m25p16 driver sector erase
commit99a87cb34f6cc0076e99b5db587769e660025bfa
authorBruce Luckcuck <github@etracer.net>
Sat, 25 May 2019 16:27:18 +0000 (25 12:27 -0400)
committerBruce Luckcuck <github@etracer.net>
Sat, 25 May 2019 16:27:18 +0000 (25 12:27 -0400)
tree0153ae3125b315ed5620790623c7e863328a8b61
parente54ef4815a4c1db4b07fc15d7913c2ccc0aa2e6b
Fix flash m25p16 driver sector erase
The sector erase function was not taking into account the address size when sending the command to the device and the erase was failing for devices using 24bit addressing.
src/main/drivers/flash_m25p16.c