aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCaleb Jamison <[email protected]>2024-08-29 21:35:57 -0400
committerCaleb Jamison <[email protected]>2024-08-29 21:35:57 -0400
commit4c07c356e44020d39bc27d44d24272ad369426c3 (patch)
treeb3ae94abf02d2d9ce7b0dde466eb4b957196eab5 /examples
parent0434798439b9037a4fa5f30165879292e388f042 (diff)
Fixup: forgot to rename fn in example
Diffstat (limited to 'examples')
-rw-r--r--examples/rp23/src/bin/otp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rp23/src/bin/otp.rs b/examples/rp23/src/bin/otp.rs
index c4d79c6ea..106e514ca 100644
--- a/examples/rp23/src/bin/otp.rs
+++ b/examples/rp23/src/bin/otp.rs
@@ -34,8 +34,8 @@ async fn main(_spawner: Spawner) {
34 // https://github.com/knurling-rs/defmt/pull/683 34 // https://github.com/knurling-rs/defmt/pull/683
35 Timer::after_millis(10).await; 35 Timer::after_millis(10).await;
36 36
37 let unique_id = unwrap!(otp::get_unique_id()); 37 let chip_id = unwrap!(otp::get_chipid());
38 info!("Unique id:{:X}", unique_id); 38 info!("Unique id:{:X}", chip_id);
39 39
40 let private_rand = unwrap!(otp::get_private_random_number()); 40 let private_rand = unwrap!(otp::get_private_random_number());
41 info!("Private Rand:{:X}", private_rand); 41 info!("Private Rand:{:X}", private_rand);