Skip to content

Commit

Permalink
Fix: initialize HTTP(S)+JSON power meter values
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Aug 21, 2024
1 parent dcb1e77 commit bf084ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/PowerMeterHttpJson.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PowerMeterHttpJson : public PowerMeterProvider {
uint32_t _lastPoll = 0;

mutable std::mutex _valueMutex;
power_values_t _powerValues;
power_values_t _powerValues = {};

std::array<std::unique_ptr<HttpGetter>, POWERMETER_HTTP_JSON_MAX_VALUES> _httpGetters;

Expand Down

0 comments on commit bf084ab

Please sign in to comment.