Skip to content

Commit 13c62ca

Browse files
committed
call correct macro for ns functions
1 parent 88b8873 commit 13c62ca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

rp235x-hal/src/rom_data.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -668,39 +668,39 @@ pub mod sys_info_api {
668668
);
669669

670670
#[cfg(all(target_arch = "arm", target_os = "none"))]
671-
declare_get_sys_info_function!(
671+
declare_get_sys_info_ns_function!(
672672
/// Get the unique identifier for the chip
673673
chip_info_ns, ChipInfo, GetSysInfoFlag::ChipInfo
674674
);
675675

676676
#[cfg(all(target_arch = "arm", target_os = "none"))]
677-
declare_get_sys_info_function!(
677+
declare_get_sys_info_ns_function!(
678678
/// Get the value of the OTP critical register
679679
otp_critical_register_ns,
680680
OtpCriticalReg,
681681
GetSysInfoFlag::Critical
682682
);
683683

684684
#[cfg(all(target_arch = "arm", target_os = "none"))]
685-
declare_get_sys_info_function!(
685+
declare_get_sys_info_ns_function!(
686686
/// Get the current running CPU's info
687687
cpu_info_ns, CpuInfo, GetSysInfoFlag::CpuInfo
688688
);
689689

690690
#[cfg(all(target_arch = "arm", target_os = "none"))]
691-
declare_get_sys_info_function!(
691+
declare_get_sys_info_ns_function!(
692692
/// Get flash device info in the format of OTP FLASH_DEVINFO
693693
flash_dev_info_ns, FlashDevInfo, GetSysInfoFlag::FlashDevInfo
694694
);
695695

696696
#[cfg(all(target_arch = "arm", target_os = "none"))]
697-
declare_get_sys_info_function!(
697+
declare_get_sys_info_ns_function!(
698698
/// Get a 128-bit random number generated on each boot
699699
boot_random_ns, BootRandom, GetSysInfoFlag::BootRandom
700700
);
701701

702702
#[cfg(all(target_arch = "arm", target_os = "none"))]
703-
declare_get_sys_info_function!(
703+
declare_get_sys_info_ns_function!(
704704
/// Get diagnostic boot info
705705
boot_info_ns, BootInfo, GetSysInfoFlag::BootInfo
706706
);

0 commit comments

Comments
 (0)