Skip to content

Commit

Permalink
Merge pull request #31 from moosingin3space/dev/bump-rp-hal
Browse files Browse the repository at this point in the history
bump rp2040-hal to 0.10.0
  • Loading branch information
jannic committed Mar 16, 2024
2 parents 944494c + c153eca commit a648210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/rp-rs/ws2812-pio-rs/"
[dependencies]
embedded-hal = "0.2.5"
fugit = "0.3.5"
rp2040-hal = "0.9.0"
rp2040-hal = "0.10"
pio = "0.2.0"
smart-leds-trait = "0.2.1"
nb = "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ where
let frac: u8 = frac as u8;

let pin = pin.into();
let (mut sm, _, tx) = rp2040_hal::pio::PIOBuilder::from_program(installed)
let (mut sm, _, tx) = rp2040_hal::pio::PIOBuilder::from_installed_program(installed)
// only use TX FIFO
.buffers(rp2040_hal::pio::Buffers::OnlyTx)
// Pin configuration
Expand Down

0 comments on commit a648210

Please sign in to comment.