This commit is contained in:
SchumyHao 2015-04-16 21:08:07 +08:00
parent 7d341d4e6e
commit 88936f0836
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ rt_err_t w25qxx_init(const char * flash_device_name, const char * spi_device_nam
FLASH_TRACE("W25Q16DW detection\r\n"); FLASH_TRACE("W25Q16DW detection\r\n");
spi_flash_device.geometry.sector_count = 512; spi_flash_device.geometry.sector_count = 512;
} }
else if(memory_type_capacity == MTC_W25Q80_BV) else if(memory_type_capacity == MTC_W25Q80_BV)
{ {
FLASH_TRACE("W25Q80BV detection\r\n"); FLASH_TRACE("W25Q80BV detection\r\n");
spi_flash_device.geometry.sector_count = 256; spi_flash_device.geometry.sector_count = 256;