mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-25 02:35:40 +08:00
Disable JSON RSSI reporting when RSSI is not being used.
This commit is contained in:
@@ -1384,6 +1384,9 @@ void CDStarControl::enable(bool enabled)
|
||||
|
||||
void CDStarControl::writeJSONRSSI()
|
||||
{
|
||||
if (m_rssi == 0U)
|
||||
return;
|
||||
|
||||
if (m_rssiCountTotal >= RSSI_COUNT) {
|
||||
nlohmann::json json;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user