Skip to content

Commit 8fb405c

Browse files
authored
Merge pull request #85 from CarletonURocketry/conversion-macros-fix
Correct conversion macros
2 parents d66f357 + a3fc8a0 commit 8fb405c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

telemetry/src/collection/collection.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#define pascals(millibar) (millibar * 100)
3333
#define millimeters(meters) (meters * 1000)
3434
#define point_one_microdegrees(degrees) (1E7f * degrees)
35-
#define tenth_degree(radian) (radian * 18 / M_PI)
36-
#define tenth_microtesla(microtesla) (microtesla * 1000)
35+
#define tenth_degree(radian) (radian * 1800 / M_PI)
36+
#define tenth_microtesla(microtesla) (microtesla * 10)
3737
#define cm_per_sec_squared(meters_per_sec_squared) (meters_per_sec_squared * 100)
3838
#define millidegrees(celsius) (celsius * 1000)
3939

0 commit comments

Comments
 (0)