just in case, turn tag field off on exiting reader mode

This commit is contained in:
Philippe Teuwen
2023-10-11 19:32:37 +02:00
parent bac3552d85
commit 6236fdd4cf
+1
View File
@@ -51,6 +51,7 @@ void tag_mode_enter(void) {
nrf_gpio_cfg_output(READER_POWER);
nrf_gpio_pin_clear(READER_POWER); // reader power disable
TAG_FIELD_LED_OFF();
nrf_gpio_cfg_output(HF_ANT_SEL);
nrf_gpio_pin_set(HF_ANT_SEL); // hf ant switch to emulation mode