Interface refactor 2
This commit is contained in:
@@ -21,7 +21,7 @@ fn get_card_key() -> &'static CardKey {
|
||||
}
|
||||
|
||||
pub struct CardReader<'a> {
|
||||
driver: Pn532<pn532::I2cInterface<SharedI2c<'a>, Delay, gpio::Output<'a>, gpio::Input<'a>>>
|
||||
driver: Pn532<gpio::Output<'a>, gpio::Input<'a>, Delay, pn532::I2cInterface<SharedI2c<'a>, Delay, gpio::Output<'a>, gpio::Input<'a>>>
|
||||
}
|
||||
|
||||
impl<'a> CardReader<'a> {
|
||||
|
||||
Reference in New Issue
Block a user