mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/p104-new-plugin-max7219-dotmatrix
This commit is contained in:
@@ -256,7 +256,7 @@ boolean Plugin_074(uint8_t function, struct EventStruct *event, String& string)
|
||||
// TSL2591_VISIBLE: Reads all and subtracts out just the visible!
|
||||
const uint16_t visible = ( (fullLuminosity & 0xFFFF) - (fullLuminosity >> 16));
|
||||
|
||||
const uint16_t lux = P074_data->tsl.calculateLuxf(full, ir); // get LUX
|
||||
const float lux = P074_data->tsl.calculateLuxf(full, ir); // get LUX
|
||||
|
||||
UserVar[event->BaseVarIndex + 0] = lux;
|
||||
UserVar[event->BaseVarIndex + 1] = full;
|
||||
|
||||
Reference in New Issue
Block a user