cancel blocking ISO15693 operations or standalone mode whenever USB packets appear

This commit is contained in:
g3gg0 2020-04-12 01:15:51 +02:00
commit 2e69d17693
2 changed files with 37 additions and 11 deletions

View file

@ -797,6 +797,11 @@ void StandAloneMode15() {
}
while(!done) {
if(usb_poll_validate_length()) {
done = true;
continue;
}
SpinDelay(50);
usb_poll();
WDT_HIT();