|
|
@ -412,7 +412,7 @@ bool CPhoneDevice::QuerySystemProperties(std::map<std::string, std::string>& pro
|
|
|
|
snprintf(str, sizeof(str), "%.1f", val);
|
|
|
|
snprintf(str, sizeof(str), "%.1f", val);
|
|
|
|
it->second = str;
|
|
|
|
it->second = str;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (it->first == (PROP_LIGHT))
|
|
|
|
else if (it->first == (PROP_LIGHTDEPENDENT_RESISTOR))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int val = GpioControl::getLightAdc();
|
|
|
|
int val = GpioControl::getLightAdc();
|
|
|
|
it->second = std::to_string(val);
|
|
|
|
it->second = std::to_string(val);
|
|
|
|