mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-02 02:08:25 +00:00
west update
This commit is contained in:
@@ -210,7 +210,7 @@ int RepeaterMesh::handleRequest(ClientInfo* sender, uint32_t sender_timestamp, u
|
||||
auto& radio_driver = getRadioDriver(_radio);
|
||||
RepeaterStats stats;
|
||||
stats.batt_milli_volts = _board.getBattMilliVolts();
|
||||
stats.curr_tx_queue_len = _mgr->getOutboundCount(0xFFFFFFFF);
|
||||
stats.curr_tx_queue_len = _mgr->getOutboundTotal();
|
||||
stats.noise_floor = (int16_t)_radio->getNoiseFloor();
|
||||
stats.last_rssi = (int16_t)radio_driver.getLastRSSI();
|
||||
stats.n_packets_recv = radio_driver.getPacketsRecv();
|
||||
@@ -1218,5 +1218,5 @@ void RepeaterMesh::loop() {
|
||||
}
|
||||
|
||||
bool RepeaterMesh::hasPendingWork() const {
|
||||
return _mgr->getOutboundCount(0xFFFFFFFF) > 0;
|
||||
return _mgr->getOutboundTotal() > 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user