add ability get LDR value from other usermods (#2408)

This commit is contained in:
Roman Reitschmied 2021-12-12 00:31:54 +01:00 committed by GitHub
parent d3f35955d6
commit 7d5e2466f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,11 @@ public:
}
}
uint16_t getLastLDRValue()
{
return lastLDRValue;
}
void addToJsonInfo(JsonObject &root)
{
JsonObject user = root[F("u")];