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