File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55//! are represented and you can send them with square, triangle,
66//! circle, left, up, and right.
77
8- #![ feature( duration_from_micros) ]
9-
108extern crate embedded_hal;
119extern crate linux_embedded_hal as linux_hal;
1210extern 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
Original file line number Diff line number Diff line change @@ -500,6 +500,8 @@ where
500500}
501501
502502mod tests {
503+ use super :: ControllerData ;
504+
503505 #[ test]
504506 fn union_test ( ) {
505507 // Again, buttons are active low, hence 'fe' and '7f'
You can’t perform that action at this time.
0 commit comments