mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-14 20:32:23 -04:00
Fetch HW entropy source from SD
This commit is contained in:
parent
85626c40a8
commit
0e24b54657
7 changed files with 249 additions and 22 deletions
|
@ -1,4 +1,5 @@
|
|||
#include "SD.h"
|
||||
#include "hardware/Crypto.h"
|
||||
|
||||
FATFS sdfs;
|
||||
|
||||
|
@ -24,6 +25,7 @@ void sd_init(void) {
|
|||
|
||||
void sd_automounted_hook(void) {
|
||||
sd_statuschange_indication(1);
|
||||
crypto_init();
|
||||
}
|
||||
|
||||
void sd_autounmounted_hook(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue