Merge upstream dev: RadioLib rx error counter (#3715)
Conflict in the RadioLibWrapper constructor: our txpow fields + upstream's n_recv_errors init, both kept. Builds Xiao_nrf52_sensor and SenseCap_Solar_repeater_ble, native tests 109/109. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
f8ea4144d9
1 file changed
+4
-2
@@ -35,8 +35,10 @@ protected:
|
||||
virtual void doResetAGC();
|
||||
|
||||
public:
|
||||
RadioLibWrapper(PhysicalLayer& radio, mesh::MainBoard& board) : _radio(&radio), _board(&board), _preamble_sf(0),
|
||||
_last_txpow_status(0), _last_txpow_dbm(0) { n_recv = n_sent = 0; }
|
||||
RadioLibWrapper(PhysicalLayer& radio, mesh::MainBoard& board)
|
||||
: _radio(&radio), _board(&board), _preamble_sf(0), _last_txpow_status(0), _last_txpow_dbm(0) {
|
||||
n_recv = n_sent = n_recv_errors = 0;
|
||||
}
|
||||
|
||||
void begin() override;
|
||||
virtual void powerOff() { _radio->sleep(); }
|
||||
|
||||
Reference in new issue
Block a user