CMS dynamic setup popup menu
commit265d6dde2b3fee2728a02747f235232bb256da81
authorBruce Luckcuck <github@etracer.net>
Sat, 8 Feb 2020 20:08:27 +0000 (8 15:08 -0500)
committerBruce Luckcuck <github@etracer.net>
Thu, 12 Mar 2020 15:45:44 +0000 (12 11:45 -0400)
tree6bcd6ce4f15c7a48f81a04d9d914b5487c8f6baf
parentd733c48b048cb08511dab29a7b8afb587a90dfe1
CMS dynamic setup popup menu
Adds a dynamically constructed menu that will appear before the main menu when the user enters CMS if there are any outstanding setup items to complete. Currently only includes entry to calibrate the ACC if required, but provides a framework for other setup reminders as needed. The user can choose to exit this menu without remedying the problems, but the menu will reappear when they next enter CMS. If there are no required setup items then the menu will be skipped and the user will go straight to the main menu.
20 files changed:
src/main/cms/cms.c
src/main/cms/cms.h
src/main/cms/cms_menu_blackbox.c
src/main/cms/cms_menu_failsafe.c
src/main/cms/cms_menu_firmware.c
src/main/cms/cms_menu_firmware.h
src/main/cms/cms_menu_gps_rescue.c
src/main/cms/cms_menu_imu.c
src/main/cms/cms_menu_ledstrip.c
src/main/cms/cms_menu_main.c
src/main/cms/cms_menu_main.h
src/main/cms/cms_menu_misc.c
src/main/cms/cms_menu_osd.c
src/main/cms/cms_menu_power.c
src/main/cms/cms_menu_vtx_common.c
src/main/cms/cms_menu_vtx_rtc6705.c
src/main/cms/cms_menu_vtx_smartaudio.c
src/main/cms/cms_menu_vtx_tramp.c
src/main/cms/cms_types.h
src/test/unit/cms_unittest.cc