Add GPS Lap Timer (#11856)
commitaad197f791a05a01aad7e133cdd8d3bdaa708d4a
authorSpencerGraffunder <spencergraffunder@cedarville.edu>
Thu, 25 May 2023 00:31:22 +0000 (24 20:31 -0400)
committerGitHub <noreply@github.com>
Thu, 25 May 2023 00:31:22 +0000 (25 02:31 +0200)
tree6a570a32952608ee2648f456d19c589b6d0eea59
parent23a416b43192ff4a562c78d5e12b11578c13dcba
Add GPS Lap Timer (#11856)

* Add gps lap timer

* change timing to GPS time instead of local time

* rebase and minor changes

* implement KarateBrot's suggestions

* follow ledvinap's suggestions, some OSD symbol changes

* move platform.h include to the top

Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* fix osd elements not showing, remove useless block

* cleanup, move pg stuff to pg folder

* cleanup from review

* minor mods to gps lap timer update, add number of laps tracked

* rename time variable

* add const to timeMs

Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* Update licenses, add is_sys_element macro

* update licenses

* round to nearest centisecond

Co-authored-by: Jan Post <Rm2k-Freak@web.de>
---------

Co-authored-by: Jan Post <Rm2k-Freak@web.de>
26 files changed:
make/source.mk
src/main/cli/cli.c
src/main/cli/settings.c
src/main/cli/settings.h
src/main/cms/cms_menu_gps_lap_timer.c [new file with mode: 0644]
src/main/cms/cms_menu_gps_lap_timer.h [new file with mode: 0644]
src/main/cms/cms_menu_misc.c
src/main/cms/cms_menu_osd.c
src/main/drivers/osd_symbols.h
src/main/fc/gps_lap_timer.c [new file with mode: 0644]
src/main/fc/gps_lap_timer.h [new file with mode: 0644]
src/main/fc/init.c
src/main/fc/parameter_names.h
src/main/fc/rc_modes.h
src/main/io/gps.c
src/main/io/gps.h
src/main/msp/msp_box.c
src/main/osd/osd.c
src/main/osd/osd.h
src/main/osd/osd_elements.c
src/main/pg/gps.c
src/main/pg/gps.h
src/main/pg/gps_lap_timer.c [new file with mode: 0644]
src/main/pg/gps_lap_timer.h [new file with mode: 0644]
src/main/pg/pg_ids.h
src/main/target/common_post.h