From 4b9795bb6ade10a27cccd36a29dbdc03da665a87 Mon Sep 17 00:00:00 2001 From: charliekush Date: Fri, 22 Nov 2024 09:56:01 -0800 Subject: [PATCH] chore: added docs to dataCollection.hpp --- src/cellular/dataCollection.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/cellular/dataCollection.cpp b/src/cellular/dataCollection.cpp index 814423ba..38e85d77 100644 --- a/src/cellular/dataCollection.cpp +++ b/src/cellular/dataCollection.cpp @@ -8,6 +8,9 @@ #include "Particle.h" +/** + * @brief struct for holding 10 measurements to upload + */ typedef struct Ensemble10_eventData_ { double temperature; @@ -20,9 +23,15 @@ typedef struct Ensemble10_eventData_ uint32_t accumulateCount; }Ensemble10_eventData_t; +/** + * @brief staic variable for 10 measurements + */ static Ensemble10_eventData_t ensemble10Data; - +/** + * @brief collects data with 10 measurmenets for upload + * Sends to recorder + */ void SS_ensemble10Func() { int32_t lat, lng;