Radiolib API Changes

This commit is contained in:
Thomas Göttgens
2024-09-03 13:12:39 +02:00
parent d83f8edd54
commit 6fc4a1754b
5 changed files with 11 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ template <class T> class SX126xInterface : public RadioLibInterface
/// Prepare hardware for sleep. Call this _only_ for deep sleep, not needed for light sleep.
virtual bool sleep() override;
bool isIRQPending() override { return lora.getIrqStatus() != 0; }
bool isIRQPending() override { return lora.getIrqFlags() != 0; }
protected:
float currentLimit = 140; // Higher OCP limit for SX126x PA