mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-16 08:31:35 +10:00
fix(lora): skip DIO detach when no ISR is attached (#11386)
* fix(lora): skip DIO detach when no ISR is attached Fixes #11371 * fix(lora): latch the ISR-armed flag instead of tracking attach state The flag is now written once from task context and only read from ISR context.
This commit is contained in:
@@ -318,7 +318,7 @@ template <typename T> bool LR11x0Interface<T>::reconfigure()
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename T> void LR11x0Interface<T>::disableInterrupt()
|
||||
template <typename T> void LR11x0Interface<T>::clearRadioIsr()
|
||||
{
|
||||
lora.clearIrqAction();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user