Skip to content

Commit

Permalink
Update Waveshare_7_5_T7_Sensors.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs authored Dec 29, 2023
1 parent e645278 commit 7a3781c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Forecast_record_type WxForecast[max_readings]; //!< OWM Weather Forecast
#define barchart_on true
#define barchart_off false

const String [] = LOCATIONS_TXT; //!< /Screen Titles
const String Locations[] = LOCATIONS_TXT; //!< /Screen Titles

// OWM Forecast Data
float pressure_readings[max_readings] = { 0 }; //!< OWM pressure readings
Expand Down Expand Up @@ -1164,7 +1164,7 @@ void GetMqttData(WiFiClient &net, MQTTClient &MqttClient) {
MqttSensors.wind_direction_deg = payload["wind_direction_deg"];
MqttSensors.wind_gust_meter_sec = payload["wind_gust_meter_sec"];

MqttSensors.status = { false };
MqttSensors.status = { false, false, false, false, false };

JsonObject status = payload["status"];
MqttSensors.status.ble_ok = status["ble_ok"];
Expand Down

0 comments on commit 7a3781c

Please sign in to comment.