mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
Test other release power down
This commit is contained in:
parent
e104dbf251
commit
d02d3897af
@ -94,12 +94,12 @@ int main(void)
|
|||||||
|
|
||||||
uint8_t read_buf[0xff] = {0x00};
|
uint8_t read_buf[0xff] = {0x00};
|
||||||
|
|
||||||
// touch_wait(LED_BLUE, 0); // start test
|
read_buf[0] = RELEASE_POWER_DOWN;
|
||||||
flash_release_powerdown();
|
|
||||||
|
|
||||||
// touch_wait(LED_BLUE, 0); // start test
|
spi_write(read_buf, sizeof(read_buf), NULL, 0);
|
||||||
flash_release_powerdown();
|
spi_write(read_buf, sizeof(read_buf), NULL, 0);
|
||||||
// Read out IDs
|
// Read out IDs
|
||||||
|
memset(read_buf, 0x00, sizeof(read_buf));
|
||||||
flash_read_manufacturer_device_id(read_buf);
|
flash_read_manufacturer_device_id(read_buf);
|
||||||
write(read_buf, 2);
|
write(read_buf, 2);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user