Merge pull request #3402 from meshcore-dev/sensor-improvements

Sensor improvements
This commit is contained in:
ripplebiz
2026-09-21 19:03:18 +10:00
committed by GitHub
6 changed files with 449 additions and 191 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ void loop() {
if (len > 0 && command[len - 1] == '\r') { // received complete line
command[len - 1] = 0; // replace newline with C string null terminator
char reply[160];
the_mesh.handleCommand(0, command, reply); // NOTE: there is no sender_timestamp via serial!
the_mesh.handleCommand(NULL, 0, command, reply); // NOTE: there is no sender_timestamp via serial!
if (reply[0]) {
Serial.print(" -> "); Serial.println(reply);
}