1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00
Commit graph

115 commits

Author SHA1 Message Date
Michael Keller
46c4da05a1
Merge pull request #7443 from etracer65/cms_multiple_entry_wedging
Fix array overflow/wedge after multiple entries into CMS
2019-01-22 18:10:37 +13:00
Bruce Luckcuck
a0eb2c8fa7 Fix array overflow/wedge after multiple entries into CMS
The menu stack counter was not being reset when CMS was initially entered and multiple entries can cause an array overflow/memory corruption and wedge.

Previosuly the problem was accidentally prevented because the user was required to "back out" through the menus to exit which decremented the array index. However with the addition of the popup exit/save menu it became possible to exit without traversing back through the menu structure and this bug was exposed.
2019-01-20 22:40:06 -05:00
Scavanger
dd30009925 "Fullscreen" mode for displayports. 2019-01-20 20:46:23 +01:00
Bruce Luckcuck
5b5581fa2a CMS exit/save popup menu
Adds a new exit/save menu that can be displayed at any time using the yaw-right stick command. Yaw-left still functions as "back".

Allows the user to save their settings even while nested deep in multiple menus. Previously the user was required to back up all the way to the top level menu to save or exit.
2019-01-10 18:59:50 -05:00
Pieter Kruger
23386af1ac Update OSD Elements menu for OSD Profiles 2018-12-16 13:34:49 +10:00
Pieter Kruger
4a37a7c833 Add fix for issue 7196 OSD active elements menu moves items left by one 2018-12-10 23:14:01 +10:00
Pieter Kruger
8d981df1a9 Add OSD Profile feature - issue 4155 2018-12-01 17:51:38 +10:00
Andi Kanzler
1b98b1e2aa Improvements from review. 2018-07-01 01:05:44 +02:00
Andi Kanzler
31830dc10c Bring the CMS to the HoTT-Textmode. 2018-07-01 01:05:43 +02:00
jflyper
041bfb22c6 Create a pg for rxConfig 2018-05-27 09:13:04 +09:00
Chris
8cbd91c9ee Duplicate include 2018-04-30 01:02:02 +02:00
Chris
641e555e7b Check if HID is actually enabled in options. 2018-04-30 00:51:14 +02:00
Chris
b824f900d9 Fixup as in PR commits. 2018-04-30 00:46:21 +02:00
blckmn
a9f74cd6df Removed excess trailing spaces before new lines on licenses. 2018-04-25 20:58:00 +10:00
Michael Keller
3ef12389da
Merge pull request #5743 from codecae/crsf_displayport
CMS Telemetry over CRSF w/ Lua Script (X9D, so far)
2018-04-25 00:09:58 +12:00
Curtis Bangert
9d4d3ad45c CMS Telemetry over CRSF w/ Lua Script (X9D, so far) 2018-04-23 22:34:30 -04:00
blckmn
46fe22b4bd Direct license replacement 2018-04-22 09:22:46 +10:00
Anders Hoglund
c8a42924f9 Spektrum CMS over TM performance increase. 2018-02-20 18:47:52 +01:00
mikeller
b489d0ba9d Renamed 'parameter_group' to 'pg'. 2017-12-19 23:36:31 +13:00
Anders Hoglund
0e1f0e89e7 Spektrum, CMS over Telemetry. Rebased and squashed. 2017-11-14 15:57:33 +01:00
Michael Keller
364afcbf25
Merge pull request #4521 from martinbudden/bf_cms_onglobalexit
Remove almost entirely unused CMS ononGlobalExit function
2017-11-10 10:35:13 +13:00
Martin Budden
9a9884e4af Remove almost entirely unused CMS ononGlobalExit function 2017-11-09 19:06:25 +00:00
Martin Budden
f8c47f6751 Size optimise CMS modules. Improve const correctness 2017-11-09 17:24:44 +00:00
mikeller
a8d34dabb0 Changed defines for GYRO/ACC/MAG/BARO/GPS/SONAR/OSD/BLACKBOX/CMS to conform to the USE_ convention. 2017-11-05 10:15:24 +13:00
allenyan
4df1084d1d Add RunCam Device Protocol Support(DisplayPort, DeviceSetting Access, 5 key osd cable simulation) 2017-10-19 16:19:27 +08:00
Martin Budden
8dd4a584c1 Fixed whitespace 2017-08-17 08:32:37 +01:00
Martin Budden
c0961d7f4c Fixed some comparion sign warnings in MAX macros 2017-08-16 08:55:12 +01:00
jflyper
4a2ef89ea8 Revert left stick constraints and introduce context 2017-07-30 19:12:22 +09:00
Dan Nixon
c23b07bdda Pad table strings in the CMS
Ensures that switching from a longer string to a shorter one does not
leave chars from the longer string.

e.g. BATTERY -> GYRO would result in GYROERY
2017-07-16 11:15:51 +01:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
blckmn
67d2c3ef25 Minor makefile change to support windows better
Removed uninitialised warnings
2017-07-02 06:55:14 +10:00
mikeller
31df82db2d Reworked arming conditions. 2017-06-30 08:43:46 +12:00
Dan Nixon
427c5fe524 OSD unit test 2017-06-27 10:01:35 +01:00
jflyper
5694b97dda Prevent CMS from freezing after flash erase 2017-05-29 09:28:18 +09:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
jflyper
f26144db72 Support SmartAudio V1 2017-05-02 22:17:03 +09:00
Michael Keller
e5d1382f59 Merge pull request #2833 from jflyper/bfdev-cms-refactor
[CMS] Multi-page bug fix and refactor
2017-05-02 10:19:14 +12:00
jflyper
f4c21d06a9 Disabled page debugging 2017-05-01 11:56:25 +09:00
jflyper
4c114db666 Fix pageCount calculation 2017-05-01 10:40:44 +09:00
Hydra
2b1dac4c6d CF/BF - First cut of allow building of the OSD SLAVE board without all
the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
jflyper
b10412ac9b Tidy 2017-04-07 18:04:56 +09:00
jflyper
f15d5dd12c More strict stick commands 2017-04-07 12:54:37 +09:00
jflyper
602b656b01 Refactor CMS
- Introduce 'page'
- Handle more than 2 pages correctly
2017-04-07 05:15:27 +09:00
jflyper
5d92b62393 Resurrect multi-display cycling 2017-04-02 22:42:35 +09:00
Martin Budden
694875d0aa Fix max7456 defines 2017-02-22 14:06:46 +00:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
jflyper
0cbe440cea Rebased 2016-12-05 11:43:34 +09:00
Martin Budden
8d3c825646 Converted currentTime to currentTimeUs 2016-12-01 20:00:44 +00:00
jflyper
fc1c8d7596 OME_Funcall now chains functions based on p->func's return value 2016-11-25 22:01:28 +09:00
jflyper
f1035c52eb Minor touch up
OME_Submenu unconditionally calls cmsMenuChange, so p->func test is not
required.
2016-11-25 20:20:29 +09:00