mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 06:07:52 -04:00
[bootloader] return device_nack
return device ACK/NACK from sending the EEPROM address
This commit is contained in:
parent
2affe17bcf
commit
b074c4affa
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ int twi_flash_read_word(uint32_t addr, uint32_t* rdata) {
|
|||
// delay next read
|
||||
twi_flash_delay_twi_tick(1000);
|
||||
|
||||
return 0;
|
||||
return device_nack;
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue