Skip to content

Commit

Permalink
#24 add portable-atomic dependency to example crate + remove static m…
Browse files Browse the repository at this point in the history
…ut warning
  • Loading branch information
HusseinAbdelhamid committed Sep 24, 2024
1 parent 5457c89 commit 92baca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ rp-pico = "0.9.0"
rp2040-boot2 = "0.3.0"
embedded-can = "0.4.1"
bytes = { version = "1.6.0", default-features = false }
portable-atomic = { version = "1.8.0", features = ["critical-section"] }
log = "0.4.21"
usb-device = "0.3.2"
usbd-serial = "0.2.2"
Expand Down
1 change: 1 addition & 0 deletions example/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![no_std]
#![no_main]
#![allow(static_mut_refs)]
extern crate alloc;

pub mod clock;
Expand Down

0 comments on commit 92baca2

Please sign in to comment.