Skip to content

Commit

Permalink
feat(examples): Show device ID in hello-world
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Oct 18, 2024
1 parent 6fdeb6b commit 54cf02f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/hello-world/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ use riot_rs::debug::{exit, log::*};
#[riot_rs::thread(autostart)]
fn main() {
info!(
"Hello from main()! Running on a {} board.",
"Hello from main()! Running on {} board identified as {:x}.",
riot_rs::buildinfo::BOARD,
riot_rs::identity::device_identity(),
);

exit(Ok(()));
Expand Down

0 comments on commit 54cf02f

Please sign in to comment.