Skip to content

Commit a648210

Browse files
authored
Merge pull request #31 from moosingin3space/dev/bump-rp-hal
bump rp2040-hal to 0.10.0
2 parents 944494c + c153eca commit a648210

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/rp-rs/ws2812-pio-rs/"
1010
[dependencies]
1111
embedded-hal = "0.2.5"
1212
fugit = "0.3.5"
13-
rp2040-hal = "0.9.0"
13+
rp2040-hal = "0.10"
1414
pio = "0.2.0"
1515
smart-leds-trait = "0.2.1"
1616
nb = "1.0.0"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ where
125125
let frac: u8 = frac as u8;
126126

127127
let pin = pin.into();
128-
let (mut sm, _, tx) = rp2040_hal::pio::PIOBuilder::from_program(installed)
128+
let (mut sm, _, tx) = rp2040_hal::pio::PIOBuilder::from_installed_program(installed)
129129
// only use TX FIFO
130130
.buffers(rp2040_hal::pio::Buffers::OnlyTx)
131131
// Pin configuration

0 commit comments

Comments
 (0)