add one place for int0

This commit is contained in:
merlokk 2019-07-16 19:42:18 +03:00 committed by Conor Patrick
parent 6e1110ca9b
commit 44205141eb

View File

@ -792,6 +792,7 @@ int nfc_loop()
read_reg_block(&ams); read_reg_block(&ams);
process_int0(ams.regs.int0);
uint8_t state = AMS_STATE_MASK & ams.regs.rfid_status; uint8_t state = AMS_STATE_MASK & ams.regs.rfid_status;
if (state != AMS_STATE_SELECTED && state != AMS_STATE_SELECTEDX) if (state != AMS_STATE_SELECTED && state != AMS_STATE_SELECTEDX)