Fix strict non-prototype declaration warn.

Fixes #22.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-03-07 17:12:40 +01:00
parent 4c88d712b4
commit 4cd437ed35
7 changed files with 19 additions and 19 deletions

View File

@@ -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();