Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/issue_220' into issue_119
Browse files Browse the repository at this point in the history
  • Loading branch information
boerge1 committed Aug 19, 2024
2 parents 4daa156 + a18e144 commit 12b12ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/state_machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,12 @@ bool Base::readCard() {
case Chip_card::readCardEvent::none : return false;

case Chip_card::readCardEvent::known:
#ifdef BT_MODULE
if (lastCardRead.mode == pmode_t::switch_bt) {
tonuino.switchBtModuleOnOff();
return false;
}
#endif
if (lastCardRead.folder == 0) {
if (lastCardRead.mode == pmode_t::admin_card) {
LOG(state_log, s_debug, str_Base(), str_to(), str_Admin_Entry());
Expand Down

0 comments on commit 12b12ce

Please sign in to comment.