1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00
Commit graph

16 commits

Author SHA1 Message Date
Martin Budden
aef34a0a53 Split Tramp CMS code into separate module 2017-08-18 07:09:25 +01:00
Martin Budden
091b6bc912 Split smartaudio CMS code into separate module 2017-08-18 06:40:31 +01:00
Dan Nixon
78d28b48f8 Generic OSD timers
- Two configurable timer elements/stat items
- High precision timer (for race timing)
- Add array length checking to OSD items in MSP
2017-07-03 12:30:49 +01:00
Dan Nixon
7919a6ffbd Add MAX7456 image options to CMS 2017-06-12 12:14:52 +01: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
Hydra
723831b579 SPRACINGF3NEO - Use RTC6705 clk hack.
CF/BF - Fix typo in max7456DmaInProgress.  Always define an
implementation even when there is no TX-DMA.

CF/BF - Ensure that max7456 communication does not disrupt RTC6705
communication when using the same SPI port for both.

CF/BF - Port RTC6705 to use the VTX API.

* Support VTX channel/band/power on OSD for ALL vtx APIs - previously it only supported RTC6705.
* Remove all FEATURE_VTX usage.
* Remove all `#define VTX` usage.

Note that due to the async nature of tramp/smartaudio it's not possible
to know the current band/channel after requesting a change (as the
request hasn't been processed) so it makes no sense to try and save the
config - and on the tramp/smartaudio vtx the vtx maintains it's state.
So on an RTX6705 equipped FC the user should now MANUALLY save the
config using the save config stick position.

CF/BF - Move CMS for RTC6705 into vtx_rtc6705.c for consistency with
other VTX CMS menus.

CF/BF - Update RTC6705 via SOFT SPI to use VTX API.

* Achieved by simply aligning the API at the driver level and removing
all legacy conditional compilation checks.

CF/BF - Use new IO for RTC6705 CLK Hack

CF/BF - Port VTX button from CF v1.x.

Features:
* Channel Cycle
* Band Cycle
* Power Cycle
* Save Settings
* Works with any VTX using VTX API.

CF/BF - Allow support for Internal and External VTX - External takes
precedence when configured.

CF/BF - Fix display of VTX power in CMS.

* Issue occured when CMS was transitioned from integer to list of
strings.

CF/BF - Disable SMARTAUDIO and TRAMP on the SPRacingF3NEO due to flash
size.

CF/BF - Cleanup const usage of bass-by-value parameters.  Cleanup
naming.

CF/BF - Cleanup naming.  Removing noise-words. Improving consistency.

CF/BF - Improve readability by further naming cleanups.

CF/BF - Remove some magic numbers in the RTC6705 VTX code.

CF/BF - Use braces on some procedural macros.

CF/BF - Improve code readability by renaming rtc6705SetChannel to
rtc6705SetBandAndChannel.

CF/BF - Remove editor mishap.

CF/BF - Make the rtc6705Dev variable static.

CF/BF - remove duplicate state variablertc6705Dev_t - vtxDevice_t had
all we needed.  Use brackets on some procedural style macros.  Make all
the vtx vtable static const.

CF/BF - making some declarations const.

CF/BF - Fix vtx_power maximum value (out by one).
2017-04-21 11:49:31 +12:00
Hydra
73e46e9050 CF/BF - fix CMS compilation when blackbox is disabled. 2017-04-09 14:11:56 +01:00
jflyper
602b656b01 Refactor CMS
- Introduce 'page'
- Handle more than 2 pages correctly
2017-04-07 05:15:27 +09:00
Raphael Coeffic
af72b761b5 fixed pre-processor directives (continued) 2017-01-15 23:18:38 +01:00
jflyper
58ed2ed590 Tramp prototype driver 2017-01-13 15:59:36 +01:00
jflyper
53e637d01e Fix minor glitches 2016-12-13 13:35:59 +09:00
jflyper
61a87480b3 Rebased on to master (with merged CMS) 2016-11-15 15:46:43 +09:00
jflyper
8530cd4ba1 Menu restructuring
- Rate profiles are handled correctly
- Added FILTER GLB (Global) and FILTER PP (Per Profile) sub menus
- Moved MISC menu under top level.
2016-11-09 05:42:22 +09:00
Martin Budden
f68e6a4d2f Improved CMS const correctness. Added CMS and USE_MSP_DISPLAYPORT to common.h 2016-11-08 15:46:05 +00:00
jflyper
3c2849ffdc VTX menu: onEntry and onExit should be working now
Don’t know why this was overlooked.
Needs testing.
2016-11-07 17:12:57 +09:00
Martin Budden
d8a83518db CMS file renaming. displayPort renaming 2016-11-06 20:24:33 +00:00
Renamed from src/main/io/cms_builtin.c (Browse further)