mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Fix strict non-prototype declaration warn.
Fixes #22. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -315,7 +315,7 @@ bool otp_is_secure_boot_enabled(uint8_t *bootkey) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool otp_is_secure_boot_locked() {
|
||||
bool otp_is_secure_boot_locked(void) {
|
||||
uint8_t bootkey_idx = 0xFF;
|
||||
if (otp_is_secure_boot_enabled(&bootkey_idx) == false) {
|
||||
return false;
|
||||
@@ -518,7 +518,7 @@ void otp_migrate_chaff() {
|
||||
}
|
||||
#endif
|
||||
|
||||
void init_otp_files() {
|
||||
void init_otp_files(void) {
|
||||
|
||||
#ifdef PICO_RP2350
|
||||
otp_migrate_chaff();
|
||||
|
||||
Reference in New Issue
Block a user