Closed Albin76 closed 3 years ago
Change the struct to include millis and two spares.
struct attribute((packed)) SENSOR_DATA { int sensor; char MQTT_sensor_topic[15]; unsigned long millis; float temp; float humidity; float pressure; float battery; int spare1; float spare2; } sensorData;
To do:
Change the struct to include millis and two spares.
struct attribute((packed)) SENSOR_DATA { int sensor; char MQTT_sensor_topic[15]; unsigned long millis; float temp; float humidity; float pressure; float battery; int spare1; float spare2; } sensorData;
To do: