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 28, 2024
1 parent 1cbf18d commit fff0576
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 fff0576

Please sign in to comment.