comparison Common/Inc/data_central.h @ 748:be25ab2d902c

Added display of co2 ppm values: Updated output functions for CO2 visualization and added the CO2 measurement to the lower left corner selection field. The sensor provides the value as factor 10 of ppm that's why the data type had to be changed to 32bit if ppm should be available without scaling every time. Cleanup sensor dialog: The HUD battery was displayed by default and some sensor combinations were not displayed correctly. The refresh function was updated to fix these issues.
author Ideenmodellierer
date Sun, 05 Mar 2023 22:14:53 +0100
parents b392524753fb
children 4f19336a3f21
comparison
equal deleted inserted replaced
747:df0d43da1614 748:be25ab2d902c
81 } SDataWireless; 81 } SDataWireless;
82 82
83 83
84 typedef struct 84 typedef struct
85 { 85 {
86 uint16_t CO2_ppm; 86 uint32_t CO2_ppm;
87 uint16_t signalStrength; 87 uint16_t signalStrength;
88 } SCO2Sensor; 88 } SCO2Sensor;
89 89
90 /* Main structs -------------------------------------------------------------*/ 90 /* Main structs -------------------------------------------------------------*/
91 91