Fix cellular payload

Interval value should be in seconds
This commit is contained in:
samuelbles07
2025-03-24 03:49:33 +07:00
parent c2a26e78a0
commit ea5e23b307

View File

@ -1320,7 +1320,7 @@ void postUsingCellular() {
// Build payload include all measurements from queue
String payload;
payload += String(CELLULAR_MEASUREMENT_INTERVAL);
payload += String(CELLULAR_MEASUREMENT_INTERVAL / 1000); // Convert to seconds
for (int i = 0; i < queueSize; i++) {
auto mc = measurementCycleQueue.at(i);
payload += ",";