1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Simplified leading symbol logic and change setting to default to ON

This commit is contained in:
Bruce Luckcuck 2019-06-25 18:38:27 -04:00
parent 865515113e
commit 2e9e99ff42
3 changed files with 8 additions and 9 deletions

View file

@ -328,6 +328,7 @@ TEST(OsdTest, TestStatsImperial)
// and
// using imperial unit system
osdConfigMutable()->units = OSD_UNIT_IMPERIAL;
osdConfigMutable()->dynamic_distance_units = false;
// and
// this timer 1 configuration
@ -414,6 +415,7 @@ TEST(OsdTest, TestStatsMetric)
// given
// using metric unit system
osdConfigMutable()->units = OSD_UNIT_METRIC;
osdConfigMutable()->dynamic_distance_units = false;
// set timer 1 configuration to tenths precision
osdConfigMutable()->timers[OSD_TIMER_1] = OSD_TIMER(OSD_TIMER_SRC_TOTAL_ARMED, OSD_TIMER_PREC_TENTHS, 0);