Fix: initialize HTTP(S)+JSON power meter values
This commit is contained in:
parent
1cbf18d4a7
commit
fff0576150
@ -42,7 +42,7 @@ private:
|
|||||||
uint32_t _lastPoll = 0;
|
uint32_t _lastPoll = 0;
|
||||||
|
|
||||||
mutable std::mutex _valueMutex;
|
mutable std::mutex _valueMutex;
|
||||||
power_values_t _powerValues;
|
power_values_t _powerValues = {};
|
||||||
|
|
||||||
std::array<std::unique_ptr<HttpGetter>, POWERMETER_HTTP_JSON_MAX_VALUES> _httpGetters;
|
std::array<std::unique_ptr<HttpGetter>, POWERMETER_HTTP_JSON_MAX_VALUES> _httpGetters;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user