File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ impl KeyColumns<$size> for $Type {
126
126
}
127
127
128
128
fn enable_column( & mut self , col: usize ) -> Result <( ) , ( ) > {
129
- use embedded_hal:: digital:: v2 :: OutputPin ;
129
+ use embedded_hal:: digital:: blocking :: OutputPin ;
130
130
match col {
131
131
$(
132
132
$index => OutputPin :: set_low( & mut self . $col_name) . map_err( drop) ,
@@ -136,7 +136,7 @@ impl KeyColumns<$size> for $Type {
136
136
}
137
137
138
138
fn disable_column( & mut self , col: usize ) -> Result <( ) , ( ) > {
139
- use embedded_hal:: digital:: v2 :: OutputPin ;
139
+ use embedded_hal:: digital:: blocking :: OutputPin ;
140
140
match col {
141
141
$(
142
142
$index => OutputPin :: set_high( & mut self . $col_name) . map_err( drop) ,
@@ -186,7 +186,7 @@ impl KeyRows<$size> for $Type {
186
186
}
187
187
188
188
fn read_row( & mut self , row: usize ) -> Result <bool , ( ) > {
189
- use embedded_hal:: digital:: v2 :: InputPin ;
189
+ use embedded_hal:: digital:: blocking :: InputPin ;
190
190
match row {
191
191
$(
192
192
$index => InputPin :: is_low( & self . $row_name) . map_err( drop) ,
You can’t perform that action at this time.
0 commit comments