Display OSD message and countdown if arming is delayed due to beacon
commit843a25903a8625dc7e5d82eb65e8c09c9ddc574c
authorBruce Luckcuck <github@etracer.net>
Wed, 13 Jun 2018 00:04:06 +0000 (12 20:04 -0400)
committerBruce Luckcuck <github@etracer.net>
Wed, 13 Jun 2018 00:04:06 +0000 (12 20:04 -0400)
treefb8a8ffab52440b93eae51ce9bb710613a57b47b
parenta5ba01666bdadd00018bc432e0cf17ffe50ffbc5
Display OSD message and countdown if arming is delayed due to beacon
Provides a clear indication that arming is delayed for cases where DSHOT beacon is active.

Clears the OSD and displays "DISABLING BEACON" and "ARMING IN X.Y" with an active countdown in tenths of a second while arming is delayed due to DSHOT beacon. Once delay period is over the normal "ARMING" message appears.

If the DSHOT beacon is not active then this delay screen is not displayed.
src/main/io/osd.c
src/test/unit/osd_unittest.cc