move nfc to background tasks

This commit was merged in pull request #40.
This commit is contained in:
2026-08-24 21:05:59 +02:00
parent 680964b631
commit a051bcd08a
5 changed files with 53 additions and 44 deletions
+1
View File
@@ -243,6 +243,7 @@ where
Err(e) => {
error!("Parsing page failed: {e}");
if e.status_code.is_some_and(|e| e.protocol_error) {
// After protocol error, all subsequent reads will fail, so we can stop trying to read more pages.
return Err("Failed to parse NFC page");
}
}