diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index a971fdb5..a4dc5f6d 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -412,7 +412,7 @@ bool CPhoneDevice::QuerySystemProperties(std::map& pro snprintf(str, sizeof(str), "%.1f", val); it->second = str; } - else if (it->first == (PROP_LIGHT)) + else if (it->first == (PROP_LIGHTDEPENDENT_RESISTOR)) { int val = GpioControl::getLightAdc(); it->second = std::to_string(val);