fix bug in size

This commit is contained in:
Daniel Jobson 2024-07-10 12:42:41 +02:00
parent d02d3897af
commit 56e108808e
No known key found for this signature in database
GPG Key ID: 3707A9DBF4BB8F1A

View File

@ -96,8 +96,8 @@ int main(void)
read_buf[0] = RELEASE_POWER_DOWN;
spi_write(read_buf, sizeof(read_buf), NULL, 0);
spi_write(read_buf, sizeof(read_buf), NULL, 0);
spi_write(read_buf, 4, NULL, 0);
spi_write(read_buf, 4, NULL, 0);
// Read out IDs
memset(read_buf, 0x00, sizeof(read_buf));
flash_read_manufacturer_device_id(read_buf);