Changed voc_index to uint32_t to fix Sensirion lib crash

This commit is contained in:
Jan Mrna 2022-06-10 08:52:28 +02:00
parent 89099da8d9
commit 2a31f51494

View File

@ -126,7 +126,7 @@ sps30_data_t PM_SPS30;
/* VOC related varibles */
uint16_t voc_ticks_compensated;
uint16_t voc_ticks;
uint16_t voc_index;
uint32_t voc_index;
/* Struct to store the sensor config */
config_t sensor_config;