Skip to content

Commit

Permalink
Tolerate leading v in version string (esp-rs#348)
Browse files Browse the repository at this point in the history
* Tolerate leading v in version string

* Pin executor
  • Loading branch information
bugadani authored Nov 16, 2023
1 parent 1b3c3fc commit 0db7a70
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 @@ -51,7 +51,7 @@ static_cell = { version = "=1.2", features = ["nightly"] }

embassy-net = { version = "0.2.1", features = ["nightly", "tcp", "udp", "dhcpv4", "medium-ethernet"] }
bleps = { git = "https://github.com/bjoernQ/bleps", package = "bleps", rev = "0db8fcb", features = ["macros"] }
embassy-executor = { version = "0.3.0", package = "embassy-executor", features = ["nightly", "executor-thread", "integrated-timers"] }
embassy-executor = { version = "=0.3.2", package = "embassy-executor", features = ["nightly", "executor-thread", "integrated-timers"] } # temporarily pin because we aren't ready for portable-atomic yet
embassy-time = { version = "0.1.3", features = ["nightly"] }
futures-util = { version = "0.3.28", default-features = false }
esp-println = { version = "0.6.0" }
Expand Down
2 changes: 1 addition & 1 deletion esp-wifi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn main() -> Result<(), String> {
.next()
.unwrap();

let mut version = version.split('.');
let mut version = version.trim_start_matches('v').split('.');

let major = version.next().unwrap().parse::<u32>().unwrap();
let minor = version.next().unwrap().parse::<u32>().unwrap();
Expand Down

0 comments on commit 0db7a70

Please sign in to comment.