Added updated NFC implementation into refactored structure
This commit was merged in pull request #25.
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ async fn main(spawner: Spawner) {
|
||||
}
|
||||
|
||||
loop {
|
||||
if let Some(card_data) = nfc_driver.read_card(timeout) {
|
||||
if let Ok(card_data) = nfc_driver.read_card_data() {
|
||||
log::info!("NFC Card Read: {:?}", card_data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user