Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

#include "pico.h"

#ifdef __cplusplus
extern "C" {
#endif

// PICO_CONFIG: PARAM_ASSERTIONS_ENABLED_HARDWARE_BOOT_LOCK, Enable/disable assertions in the hardware_boot_lock module, type=bool, default=0, group=hardware_boot_lock
#ifndef PARAM_ASSERTIONS_ENABLED_HARDWARE_BOOT_LOCK
#define PARAM_ASSERTIONS_ENABLED_HARDWARE_BOOT_LOCK 0
Expand Down Expand Up @@ -141,4 +145,9 @@ boot_lock_t *boot_lock_init(uint lock_num);
void boot_locks_reset(void);

#endif

#ifdef __cplusplus
}
#endif

#endif
8 changes: 8 additions & 0 deletions src/rp2_common/hardware_powman/include/hardware/powman.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#include "pico.h"
#include "hardware/structs/powman.h"

#ifdef __cplusplus
extern "C" {
#endif

/** \file hardware/powman.h
* \defgroup hardware_powman hardware_powman
*
Expand Down Expand Up @@ -272,4 +276,8 @@ static inline void powman_set_debug_power_request_ignored(bool ignored) {
powman_clear_bits(&powman_hw->dbg_pwrcfg, 0);
}

#ifdef __cplusplus
}
#endif

#endif
Loading