From fb0352f0a032d6a21b763e9acb88d148e7cd3aef Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 11 Jun 2021 13:13:58 -0400 Subject: [PATCH] ( typo --- afsk/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index 12f3a91d..82ebdc6a 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -1674,7 +1674,7 @@ void get_tlm_fox() { encodeA(b_max, 42 + head_offset, (int)(sensor_max[GYRO_Y] + 0.5) + 2048); encodeB(b_max, 43 + head_offset, (int)(sensor_max[GYRO_Z] + 0.5) + 2048); - encodeA(b_max, 48 + head_offset, (int)(sensor_max[XS1]) * 10 + 0.5) + 2048); + encodeA(b_max, 48 + head_offset, (int)(sensor_max[XS1] * 10 + 0.5) + 2048); encodeB(b_max, 49 + head_offset, (int)(sensor_max[XS2] * 10 + 0.5) + 2048); encodeB(b_max, 10 + head_offset, (int)(sensor_max[TEMP] * 10 + 0.5)); encodeA(b_max, 45 + head_offset, (int)(sensor_max[HUMI] * 10 + 0.5)); @@ -1731,7 +1731,7 @@ void get_tlm_fox() { encodeA(b_min, 42 + head_offset, (int)(sensor_min[GYRO_Y] + 0.5) + 2048); encodeB(b_min, 43 + head_offset, (int)(sensor_min[GYRO_Z] + 0.5) + 2048); - encodeA(b_max, 48 + head_offset, (int)(sensor_min[XS1]) * 10 + 0.5) + 2048); + encodeA(b_max, 48 + head_offset, (int)(sensor_min[XS1] * 10 + 0.5) + 2048); encodeB(b_max, 49 + head_offset, (int)(sensor_min[XS2] * 10 + 0.5) + 2048); encodeB(b_min, 10 + head_offset, (int)(sensor_min[TEMP] * 10 + 0.5)); encodeA(b_min, 45 + head_offset, (int)(sensor_min[HUMI] * 10 + 0.5)); @@ -1788,7 +1788,7 @@ void get_tlm_fox() { // encodeA(b, 48 + head_offset, (int)(sensor[XS2]) + 2048); // encodeB(b, 49 + head_offset, (int)(sensor[XS3] * 100 + 0.5) + 2048); - encodeA(b, 48 + head_offset, (int)(sensor[XS1]) * 10 + 0.5) + 2048); + encodeA(b, 48 + head_offset, (int)(sensor[XS1] * 10 + 0.5) + 2048); encodeB(b, 49 + head_offset, (int)(sensor[XS2] * 10 + 0.5) + 2048); // camera = ON;