Few fixups for nfc

This commit is contained in:
David Marcec
2018-09-23 21:29:58 +10:00
parent fdea1c5796
commit f2dd80f0b3
3 changed files with 6 additions and 5 deletions

View File

@@ -157,7 +157,8 @@ private:
case DeviceState::TagFound:
case DeviceState::TagNearby:
deactivate_event->Signal();
[[fallthrough]];
device_state = DeviceState::Initialized;
break;
case DeviceState::SearchingForTag:
case DeviceState::TagRemoved:
device_state = DeviceState::Initialized;