Interface refactor 2

This commit is contained in:
2026-08-31 09:39:08 +08:00
parent 2e25cda230
commit 89dfed231f
9 changed files with 101 additions and 25 deletions
+1 -1
View File
@@ -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> {