From e4d5c45f10ba02f70878c7b74bd6701271967c85 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 26 Aug 2025 09:45:58 -0400 Subject: [PATCH] Update main.c print sim sensor --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index b827a3da..e4eb4019 100644 --- a/main.c +++ b/main.c @@ -419,7 +419,9 @@ int main(int argc, char * argv[]) { strcpy(sensor_string[ACCEL_Y], sensor_number); sensor[GYRO_Z] = axis[Z] * spin; sprintf(sensor_number, "%7.2f", sensor[GYRO_Z]); - strcpy(sensor_string[ACCEL_Z], sensor_number); + strcpy(sensor_string[GYRO_Z], sensor_number); + + printf("sim sensor: %s\n", sensor_string[GYRO_Z]); // eclipse = 1; period = rnd_float(150, 300);