Also implement LR11x10 AGC reset

Similar to SX126x but simpler.
This commit is contained in:
Wessel Nieboer
2026-02-21 15:33:38 +01:00
parent b2032e11b6
commit f54948e06d
2 changed files with 20 additions and 1 deletions

View File

@@ -2,11 +2,13 @@
#include "CustomLR1110.h"
#include "RadioLibWrappers.h"
#include "LR11x0Reset.h"
class CustomLR1110Wrapper : public RadioLibWrapper {
public:
CustomLR1110Wrapper(CustomLR1110& radio, mesh::MainBoard& board) : RadioLibWrapper(radio, board) { }
bool isReceivingPacket() override {
void doResetAGC() override { lr11x0ResetAGC((LR11x0 *)_radio); }
bool isReceivingPacket() override {
return ((CustomLR1110 *)_radio)->isReceiving();
}
float getCurrentRSSI() override {