Skip to content

Error in: float BlueDot_BME280_TSL2591::calculateLux_TSL2591(uint16_t ch0, uint16_t ch1) #1

@TIOUK

Description

@TIOUK

There's an error in the return from the function line 272.

You return the input parameter ch0 rather than the result of the Lux calculation lux1.

//return (float)ch0;
return (float)lux1;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions