mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-14 08:47:13 +00:00
NFC: input ISR cleanup
This commit is contained in:
parent
ecc93152c9
commit
785469f598
1 changed files with 5 additions and 2 deletions
|
@ -101,12 +101,15 @@ void input_task(void* p) {
|
|||
}
|
||||
|
||||
void HAL_GPIO_EXTI_Callback(uint16_t pin) {
|
||||
if(pin == RFID_PULL_Pin) {
|
||||
st25r3916Isr();
|
||||
return;
|
||||
}
|
||||
|
||||
if(!initialized) return;
|
||||
|
||||
BaseType_t task_woken = pdFALSE;
|
||||
|
||||
st25r3916Isr();
|
||||
|
||||
// Ignore the result, as we do not care about repeated event during event processing.
|
||||
xSemaphoreGiveFromISR(event, &task_woken);
|
||||
|
||||
|
|
Loading…
Reference in a new issue