Updates to external notification and radiolib for SX128x. Rip out Godmode again for these

This commit is contained in:
Thomas Göttgens
2022-12-28 14:57:40 +01:00
parent 430908f5d6
commit e25d05689b
8 changed files with 91 additions and 86 deletions

View File

@@ -238,13 +238,9 @@ bool SX128xInterface<T>::isChannelActive()
template<typename T>
bool SX128xInterface<T>::isActivelyReceiving()
{
#ifdef RADIOLIB_GODMODE
uint16_t irq = lora.getIrqStatus();
bool hasPreamble = (irq & RADIOLIB_SX128X_IRQ_HEADER_VALID);
return hasPreamble;
#else
return isChannelActive();
#endif
}
template<typename T>