Skip to content

Commit 79069ec

Browse files
committed
chore: update mfrc crate
1 parent 3fe80d7 commit 79069ec

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ critical-section = "1.2.0"
3737
getrandom = { version = "=0.2.15", features = ["custom"] }
3838
uuid = { version = "=1.12.1", default-features = false, features = ["v4"] }
3939
dyn-smooth = "0.2.0"
40-
esp-hal-ota = { version = "0.4.3", features = ["esp32c3"] }
40+
esp-hal-ota = { version = "0.4.4", features = ["esp32c3"] }
4141
esp32c3 = { version = "0.30.0" }
42-
anyhow = { version = "1.0.98", default-features = false }
42+
anyhow = { version = "1.0.99", default-features = false }
4343
embedded-hal-bus = { version = "0.3.0", features = ["async"] }
4444
embedded-tls = { version = "0.17.0", default-features = false, features = ["alloc", "embedded-io-adapters", "log"] }
4545
rand_core = { version = "0.6.4", features = ["getrandom"] }
4646
ag-lcd-async = { git = "https://github.com/filipton/ag-lcd-async", features = [] }
47-
esp-hal-mfrc522 = { version = "0.2.1", features = ["embassy-time"] }
47+
esp-hal-mfrc522 = { version = "0.3.0", features = ["embassy-time"] }
4848
esp-bootloader-esp-idf = { version = "0.2.0", features = ["log-04", "esp32c3"] }
4949

5050
[features]

src/rfid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub async fn rfid_task(
4747
let spi = embedded_hal_bus::spi::ExclusiveDevice::new(spi, cs_pin, embassy_time::Delay)
4848
.expect("Spi bus init failed (cs set high failed)");
4949

50-
esp_hal_mfrc522::MFRC522::new(spi)
50+
esp_hal_mfrc522::MFRC522::new(esp_hal_mfrc522::drivers::SpiDriver::new(spi))
5151
};
5252

5353
#[cfg(not(feature = "e2e"))]

0 commit comments

Comments
 (0)