Merge remote-tracking branch 'upstream/dev' into feat/kiss-agc-fem-control

This commit is contained in:
agessaman committed 2026-11-06 20:38:01 -08:00
commit c0ccb9c7ff
123 files changed
+2095 -396

No files matched your search

+5 -1
View File
@@ -26,10 +26,14 @@ protected:
void startRecv();
float packetScoreInt(float snr, int sf, int packet_len);
virtual bool isReceivingPacket() =0;
virtual bool lastRxHadCRC() { return true; }
virtual void doResetAGC();
public:
RadioLibWrapper(PhysicalLayer& radio, mesh::MainBoard& board) : _radio(&radio), _board(&board), _preamble_sf(0) { n_recv = n_sent = 0; }
RadioLibWrapper(PhysicalLayer& radio, mesh::MainBoard& board)
: _radio(&radio), _board(&board), _preamble_sf(0) {
n_recv = n_sent = n_recv_errors = 0;
}
void begin() override;
virtual void powerOff() { _radio->sleep(); }