[FL-1619] NFC long APDU emulation (#623)

* nfc: add apdu sequence exchange debug scene
* api-hal-gpio: fix GPIO initialization
* nfc: pull down nfc chip IRQ pin

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich
2021-08-03 20:24:20 +03:00
committed by GitHub
parent 15592682ad
commit 841804026e
7 changed files with 56 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ void platformIrqWorker() {
}
void platformEnableIrqCallback() {
hal_gpio_init(&pin, GpioModeInterruptRise, GpioPullNo, GpioSpeedLow);
hal_gpio_init(&pin, GpioModeInterruptRise, GpioPullDown, GpioSpeedLow);
hal_gpio_enable_int_callback(&pin);
}