mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
fix bug in size
This commit is contained in:
parent
d02d3897af
commit
56e108808e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user