bugfix: fix spi flash read when wrap enabled
@@ -105,8 +105,8 @@ extern "C" {
//SPI address register
#define ESP_ROM_SPIFLASH_BYTES_LEN 24
#define ESP_ROM_SPIFLASH_BUFF_BYTE_WRITE_NUM 32
-#define ESP_ROM_SPIFLASH_BUFF_BYTE_READ_NUM 64
-#define ESP_ROM_SPIFLASH_BUFF_BYTE_READ_BITS 0x3f
+#define ESP_ROM_SPIFLASH_BUFF_BYTE_READ_NUM 16
+#define ESP_ROM_SPIFLASH_BUFF_BYTE_READ_BITS 0xf
//SPI status register
#define ESP_ROM_SPIFLASH_BUSY_FLAG BIT0
