@@ -97,6 +97,7 @@ gpsThread threadGps(&gps_data);
9797Queue dbQueue (DB_QUEUE_LEN ,sizeof (mqttMessage_t )); // ~ 1 minutes queue
9898Queue mqttQueue (MQTT_QUEUE_LEN ,sizeof (mqttMessage_t )); // ~ 1.5 minutes queue
9999BinaryQueue recoveryQueue (sizeof (rpcRecovery_t ));
100+ BinaryQueue calibrateQueue (sizeof (rpcCalibrate_t ));
100101BinarySemaphore recoverySemaphore (false );
101102#if (ENABLE_SDCARD_LOGGING )
102103db_data_t db_data = {1 ,& frtosLog ,& dbQueue ,& mqttQueue ,& recoverySemaphore ,& recoveryQueue ,& stimawifiStatus .db ,& station ,& logFile };
@@ -106,10 +107,10 @@ db_data_t db_data={1,&frtosLog,&dbQueue,&mqttQueue,&recoverySemaphore,&recoveryQ
106107
107108dbThread threadDb (& db_data );
108109
109- measure_data_t measure_data = {1 ,& frtosLog ,& mqttQueue ,& dbQueue ,& stimawifiStatus .measure ,& station ,& summarydata ,& i2cmutex ,& georef };
110+ measure_data_t measure_data = {1 ,& frtosLog ,& mqttQueue ,& dbQueue ,& stimawifiStatus .measure ,& station ,& summarydata ,& i2cmutex ,& georef , & calibrateQueue };
110111measureThread threadMeasure (& measure_data );
111112
112- publish_data_t publish_data = {1 ,& frtosLog ,& mqttQueue ,& dbQueue ,& recoveryQueue ,& stimawifiStatus ,& station };
113+ publish_data_t publish_data = {1 ,& frtosLog ,& mqttQueue ,& dbQueue ,& recoveryQueue ,& calibrateQueue , & stimawifiStatus ,& station };
113114publishThread threadPublish (& publish_data );
114115
115116Adafruit_NeoPixel pixels = Adafruit_NeoPixel (1 , LED_PIN , NEO_GRB + NEO_KHZ800 );
0 commit comments