Skip to content

Commit c901cc6

Browse files
committed
Revert to HAL 0.2.2 until Linux HAL catches up
1 parent 0336abe commit c901cc6

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
@@ -14,7 +14,7 @@ exclude = [
1414
]
1515

1616
[dependencies]
17-
embedded-hal = "0.2.2"
17+
embedded-hal = "=0.2.2"
1818
bit_reverse = { version = "0.1.7", default-features = false }
1919
bitflags = "1.0"
2020
byteorder = { version = "1.2", default-features = false }

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ extern crate embedded_hal as hal;
6868
use bit_reverse::ParallelReverse;
6969
use core::fmt;
7070
use hal::blocking::spi;
71-
use hal::digital::v1::OutputPin;
71+
use hal::digital::OutputPin;
7272

7373
use mouse::Mouse;
7474
use classic::{Classic, GamepadButtons};

0 commit comments

Comments
 (0)