Add OSD distance from home alarm
commita021cc7c14b390cb6b1e91899f392657058ed4b1
authorBruce Luckcuck <github@etracer.net>
Mon, 9 Sep 2019 15:15:10 +0000 (9 11:15 -0400)
committermikeller <github@ike.ch>
Mon, 21 Oct 2019 07:17:12 +0000 (21 20:17 +1300)
treef3f2f1e6ad364b14b057e40a6c199fb830eba796
parent692bf9c56eb70ae2a2b8940df8c25a396af48107
Add OSD distance from home alarm
Adds `osd_distance_alarm` (defaulting to 0 for OFF) which behaves similarly to `osd_alt_alarm`. Causes the OSD distance to home element to blink if the alarm setting is exceeded.

Also added to the CMS menu for consistency with the altitude alarm.
src/main/cli/settings.c
src/main/cms/cms_menu_osd.c
src/main/osd/osd.c
src/main/osd/osd.h
src/main/osd/osd_elements.c