Reset nows flushes the memory storage.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-09-19 17:20:00 +02:00
parent 479aae2ef9
commit 24f48e33bb

View File

@@ -17,8 +17,14 @@
*/
#include "ctap2_cbor.h"
#include "file.h"
#include "fido.h"
extern void scan_all();
int cbor_reset() {
initialize_flash(true);
scan_all();
driver_exec_finished(1);
return 0;
}