修复bug

serial
BlueMatthew 1 year ago
parent 59423531ef
commit 796c5d8c7b

@ -434,7 +434,7 @@ bool CPhoneDevice::QuerySystemProperties(std::map<std::string, std::string>& pro
{
it->second = std::to_string(GpioControl::getBatteryBusVoltage());
}
else if ((it->first == (PROP_SIGNAL_4G)) || (it->first == (PROP_SIGNAL_2G)))
else if ((it->first == (PROP_SIGNAL_4G)) || (it->first == (PROP_SIGNAL_2G)) || (it->first == (PROP_SIGNAL_LEVEL)))
{
it->second = std::to_string(m_signalLevel);
}

Loading…
Cancel
Save