mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-07-03 02:16:57 -04:00
Test other release power down
This commit is contained in:
parent
e104dbf251
commit
d02d3897af
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue