This allows for the common request of being able to run the
gas-dependant sensors/calculations in ULP mode with more frequent
LP temperature/pressure/humidity readings.
In that setup the heater only runs every 5 minutes reducing
consumption but still allowing highly reactive T/P/H readings.
Other combinations are also possible but they'll not be so useful.
If no per-sensor overrides are given then they will run at the sample
rate configured at platform level.
Also included in this PR are some tidy-ups to:
improve code readability and formatting
clear up a compile time warning relating to gate-keeper define
This allows for the common request of being able to run the gas-dependant sensors/calculations in ULP mode with more frequent LP temperature/pressure/humidity readings.
In that setup the heater only runs every 5 minutes reducing consumption but still allowing highly reactive T/P/H readings.
Other combinations are also possible but they'll not be so useful.
If no per-sensor overrides are given then they will run at the sample rate configured at platform level.
Also included in this PR are some tidy-ups to: