From 57ccbbd3f91d1f7e5a12f76c335ad27981660fac Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 9 Aug 2025 09:48:46 -0400 Subject: [PATCH] Update main.c restore sensor_payload --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 003253b9..0e44ab71 100644 --- a/main.c +++ b/main.c @@ -675,7 +675,7 @@ int main(int argc, char * argv[]) { token = strtok(NULL, space); } } - + strcpy(sensor_payload, buffer2); // restore sensor_payload after strtok operation printf("\n"); // if (sensor[GPS1] != 0) { if ((sensor[GPS1] > -90.0) && (sensor[GPS1] < 90.0) && (sensor[GPS1] != 0.0)) {