Skip to content

Commit 6b1b159

Browse files
attempt resolve build issues
1 parent 99d99fd commit 6b1b159

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/jogcon.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
//! are represented and you can send them with square, triangle,
66
//! circle, left, up, and right.
77
8-
#![feature(duration_from_micros)]
9-
108
extern crate embedded_hal;
119
extern crate linux_embedded_hal as linux_hal;
1210
extern crate pscontroller_rs;
@@ -56,7 +54,7 @@ fn main() {
5654

5755
// We only care about the JogCon here so skip everything else
5856
let jogcon = match controller {
59-
Device::JogCon(x) => (x),
57+
Device::JogCon(x) => x,
6058
_ => continue,
6159
};
6260

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ where
500500
}
501501

502502
mod tests {
503+
use super::ControllerData;
504+
503505
#[test]
504506
fn union_test() {
505507
// Again, buttons are active low, hence 'fe' and '7f'

0 commit comments

Comments
 (0)