Skip to content

Commit

Permalink
Update embedded-hal-bus requirement from 0.1.0 to 0.2.0 (#7)
Browse files Browse the repository at this point in the history
* Update embedded-hal-bus requirement from 0.1.0 to 0.2.0

Updates the requirements on [embedded-hal-bus](https://github.com/rust-embedded/embedded-hal) to permit the latest version.
- [Release notes](https://github.com/rust-embedded/embedded-hal/releases)
- [Changelog](https://github.com/rust-embedded/embedded-hal/blob/v0.2.0/CHANGELOG.md)
- [Commits](rust-embedded/embedded-hal@embedded-hal-bus-v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: embedded-hal-bus
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix build.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <[email protected]>
  • Loading branch information
dependabot[bot] and qwandor authored Apr 29, 2024
1 parent 534cc22 commit a165ef1
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 @@ -17,7 +17,7 @@ serde = { version = "1.0.197", optional = true }
cc1101 = { version = "0.1.3", features = ["std"] }
color-backtrace = "0.6.1"
color-eyre = "0.6.2"
embedded-hal-bus = { version = "0.1.0", features = ["std"] }
embedded-hal-bus = { version = "0.2.0", features = ["std"] }
eyre = "0.6.9"
log = "0.4.20"
pretty_env_logger = "0.5.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() -> Result<(), Report> {

let cs = gpio.get(CS_PIN)?.into_output();
let spibus = Spi::new(Bus::Spi0, SlaveSelect::Ss0, 1_000_000, Mode::Mode0)?;
let spi = ExclusiveDevice::new(spibus, cs, Delay);
let spi = ExclusiveDevice::new(spibus, cs, Delay)?;
let mut cc1101 =
Cc1101::new(spi).map_err(|e| eyre!("Error creating CC1101 device: {:?}", e))?;
cc1101
Expand Down

0 comments on commit a165ef1

Please sign in to comment.