Bootloader: always treat initial state as tainted. Firmware: mark boot state as tainted on boot. (#558)

This commit is contained in:
あく
2021-07-02 16:02:36 +03:00
committed by GitHub
parent df9a6673da
commit b6d5b5cb74
7 changed files with 39 additions and 20 deletions

View File

@@ -17,6 +17,9 @@ typedef enum {
ApiHalBootFlagFactoryReset=1,
} ApiHalBootFlag;
/** Initialize boot subsystem */
void api_hal_boot_init();
/** Set boot mode */
void api_hal_boot_set_mode(ApiHalBootMode mode);