NFC: application + rfal + driver.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <stdio.h>
|
||||
#include <flipper.h>
|
||||
|
||||
void st25r3916Isr(void);
|
||||
static volatile bool initialized = false;
|
||||
static SemaphoreHandle_t event;
|
||||
static InputState input_state = {
|
||||
@@ -104,6 +105,8 @@ void HAL_GPIO_EXTI_Callback(uint16_t pin) {
|
||||
|
||||
BaseType_t task_woken = pdFALSE;
|
||||
|
||||
st25r3916Isr();
|
||||
|
||||
// Ignore the result, as we do not care about repeated event during event processing.
|
||||
xSemaphoreGiveFromISR(event, &task_woken);
|
||||
|
||||
|
Reference in New Issue
Block a user