1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00
Commit graph

398 commits

Author SHA1 Message Date
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +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
dbbe79a9f4 Add arming disabled reasons to OSD 2017-07-02 17:29:21 +01:00
mikeller
31df82db2d Reworked arming conditions. 2017-06-30 08:43:46 +12:00
Michael Keller
5f1ede6534 Merge pull request #3348 from martinbudden/bf_gps_align
Move some GPS variables into struct. Some alignment with iNav
2017-06-28 11:58:12 +12:00
Dan Nixon
270c4bd5fe Update OSD unit test as per comments from @ledvinap 2017-06-27 18:01:55 +01:00
Dan Nixon
427c5fe524 OSD unit test 2017-06-27 10:01:35 +01:00
Martin Budden
564e0c94b8 Move some GPS variables into struct. Some alignment with iNav 2017-06-25 14:44:04 +01:00
Dan Nixon
3a84e81827 Add BB log no for SD card 2017-06-24 17:15:32 +01:00
Dan Nixon
5ba8d39ad8 Fixes broken if-else from 41668fa 2017-06-21 11:29:43 +01:00
borisbstyle
72f5a7940b Merge pull request #3308 from mikeller/added_osd_visual_beeper
Added visual beeper to OSD.
2017-06-19 08:23:43 +02:00
Dominic Clifton
57e85ea061 Merge branch 'rosek86-master' 2017-06-19 09:13:21 +12:00
Krzysztof Rosiński
64d92963e1 braces style corrected. 2017-06-19 09:08:44 +12:00
mikeller
41668fa702 Added visual beeper to OSD. 2017-06-18 19:17:20 +12:00
Miguel Angel Mulero Martinez
294bf5d0ef Add compass bar to OSD 2017-06-14 08:52:26 +02:00
Michael Keller
0f951ae716 Merge pull request #3269 from McGiverGim/bf-fix_gps_coordinates_OSD
Fix GPS coordinates in OSD
2017-06-14 12:07:29 +12:00
Michael Keller
7fe0ab9586 Merge pull request #3270 from DanNixon/new_osd_elements
Heading and vario OSD elements
2017-06-14 12:06:56 +12:00
Dan Nixon
5fd54cd7c2 Add numerical vario and heading OSD elements 2017-06-13 10:35:58 +01:00
Miguel Angel Mulero Martinez
64aa5824a7 Maximum Home Distance in OSD stats 2017-06-13 10:29:37 +02:00
Miguel Angel Mulero Martinez
ac2e0186f6 Fix for MAG dependency in OSD HOME DIR 2017-06-13 08:23:42 +02:00
Miguel Angel Mulero Martinez
7956acb35e Fix GPS coordinates in OSD 2017-06-12 23:49:56 +02:00
Miguel Angel Mulero Martinez
2c9563e95d Add HOME DISTANCE to OSD 2017-06-12 17:15:14 +02:00
Miguel Angel Mulero Martinez
24aef422ee Add HOME DIRECTION arrow to OSD 2017-06-12 08:37:42 +02:00
Martin Budden
e9b2d7e223 Merge pull request #3252 from martinbudden/bf_osd_tidy
OSD tidy
2017-06-11 18:21:46 +01:00
Martin Budden
e59d17033c OSD tidy 2017-06-11 16:46:51 +01:00
Dan Nixon
c3cccb888b Fix formatting of GPS speed
Fixes #3236
2017-06-08 15:16:45 +01:00
Dominic Clifton
e3b3b6881c Merge pull request #2836 from cleanflight/cleanup-osd-2
CF/BF - Cleanup OSD default positions.
2017-06-04 10:42:58 +12:00
Michael Keller
27679e69f2 Merge pull request #3193 from DanNixon/osd_volt_symbol
Use the volts symbol for voltages in OSD
2017-06-02 15:37:10 +12:00
Dan Nixon
6297969a5e Use the volts symbol for voltages in OSD 2017-06-01 11:40:57 +01:00
Dan Nixon
1366676880 Add back the OSD disarmed element 2017-05-31 16:29:10 +01:00
Martin Budden
dafac79ebf Merge pull request #3142 from DanNixon/osd_animate_battery_icon
Animate the battery symbols on OSD based on voltage
2017-05-28 14:42:59 +01:00
Martin Budden
3a5010ea65 Replace sprintf with tfp_sprintf 2017-05-28 07:17:35 +01:00
Dan Nixon
d95331323e Animate the battery symbols on OSD based on voltage 2017-05-26 17:15:19 +01:00
Martin Budden
f3502662b9 Merge pull request #3156 from martinbudden/bf_driver_time_header
Moved time functions out of system.h into time.h
2017-05-26 14:44:41 +01:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Dan Nixon
79a0f9738c Correct switch indentation in osd.c 2017-05-26 09:21:27 +01:00
Dan Nixon
36b1b581fa Further tidy up in osd.c 2017-05-23 18:17:56 +01:00
Dan Nixon
06dd634464 Reset the time since last armed counter just after stats screen display
This ensures that the time since last armed is zero when exiting the
stats display and returning to "main" OSD screen
2017-05-23 17:10:52 +01:00
Dan Nixon
4c47e2e972 Tidy formatting in osd.c 2017-05-23 17:07:56 +01:00
Dan Nixon
7b6dc1b005 Small fixes from #3133 2017-05-23 17:07:18 +01:00
borisbstyle
29917db6f2 Merge pull request #3133 from DanNixon/osd_stats
Allow customisation of the OSD stats screen
2017-05-23 14:07:19 +02:00
Dan Nixon
562ffbdbc4 Reduce flash usage in OSD stats screen 2017-05-23 12:48:41 +01:00
Dan Nixon
d83f0ddf5e Add fly timers to stats, add armed time OSD elem.
Added:
- Fly time stat (total time armed)
- Armed time stat (time since last arming)
- Armed time OSD element (time since last arming)
2017-05-22 18:24:11 +01:00
Dan Nixon
3b353ae948 Allow toggling items on BFOSD stats screen 2017-05-06 20:40:43 +01:00
Martin Budden
71546410de Rearrange PID array to be array of PIDs 2017-05-06 11:06:47 +01:00
Bas Delfos
5499e08bf0 Review changes 2017-05-04 20:38:09 +02:00
Bas Delfos
37e2b8be24 Added OSD Battery Usage progressbar 2017-05-04 20:38:09 +02:00
Dan Nixon
456d618d1b Add pitch and roll angles to BFOSD 2017-04-28 14:32:52 +01:00
Hydra
8dc019acdf CF/BF - Fix average cell voltage.
4.10 was rendered as "4.10V"
4.07 was rendered as "4.7V"

Caused by incorrect format specification.
2017-04-23 21:16:23 +01: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