mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-16 13:22:29 -04:00
Implemented packet logging
This commit is contained in:
parent
768edd2f5d
commit
e80db61859
5 changed files with 134 additions and 7 deletions
|
@ -152,7 +152,8 @@ bool update_entropy_index(void) {
|
|||
|
||||
UINT written = 0;
|
||||
crypto_fr = f_write(&crypto_fp, crypto_fb, sizeof(entropy_index), &written);
|
||||
|
||||
f_close(&crypto_fp);
|
||||
|
||||
if (crypto_fr == FR_OK && written == sizeof(entropy_index)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue