Make OSD stats page follow the state of the OSD disable switch mode (#5463)
commit6b1336a940342660ff57389cdfa0225b698f6ea2
authoretracer65 <github@etracer.net>
Tue, 20 Mar 2018 11:21:08 +0000 (20 07:21 -0400)
committerMichael Keller <github@ike.ch>
Tue, 20 Mar 2018 11:21:08 +0000 (21 00:21 +1300)
tree3a24d50f58af5dc0c859d8233458db570d8b429b
parent3ce8223c96bd1548c1c659f429f862155a44550a
Make OSD stats page follow the state of the OSD disable switch mode (#5463)

Previously the OSD stats would always display even if the OSD disable switch mode was active.

Additionally, since the OSD stats page must now be dynamically refreshed rather than only rendered once at disarm, "live" stats like RTC clock and the timer "ON TIME" continue to update and display current information.  All other stats related to the previous flight remain static as of the disarming.
src/main/io/osd.c