1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00
Commit graph

9 commits

Author SHA1 Message Date
Martin Budden
e2fbd1a152 Further CLI/blackbox parameter renames 2017-05-01 08:42:29 +01:00
Martin Budden
e4d8fa7592 Merge pull request #2986 from martinbudden/bf_cli_blackbox_parameter_names
Reamed some CLI/blackbox params to better align with blackbox viewer
2017-05-01 08:39:38 +01:00
Michael Keller
7a90ba4233 Merge pull request #2958 from DanNixon/osd_pitch_roll_angles
Add pitch and roll angles to BFOSD
2017-04-30 22:22:31 +12:00
Martin Budden
d0d44efc46 Reamed some CLI/blackbox params to better align with blackbox viewer 2017-04-30 07:45:18 +01:00
Martin Budden
7058657a9b Added blackbox acc field condition 2017-04-29 15:47:09 +01:00
Dan Nixon
456d618d1b Add pitch and roll angles to BFOSD 2017-04-28 14:32:52 +01:00
Hydra
9726e52a54 CF/BF - Fix HoTT telemetry.
Two issues:
1 - failure to work on softserial ports.

The TX pin was not allocated due to the initial port mode.

HoTT telemetry is different in that it changes the serial port mode
between sending and receiving.

This change opens the port in RX/TX mode so that both RX and TX pins are
initally allocated.

Test scenario:
* HoTT on SoftSerial 1
* Diode connecting between RX and TX pins.

2 - bidirectional hardware ports were not supported.

Renamed `sport_halfduplex` to `tlm_halfduplex`.  The setting is now used
by sport and hott telemetry.
2017-04-23 11:30:29 +01:00
Dominic Clifton
c997e634da BF - Fix incorrectly merge conflict resolution. 2017-04-21 19:27:55 +01:00
Dominic Clifton
970f193dd7 CF/BF - Extract cli settings so they can be re-used.
CF/BF - Save 1280 bytes of flash and delete over 300 lines of code by
removing giant switch statement and static variables in the CLI.

fix

CF/BF - Remove some conditional code because there is a copy of every PG
so it will always be found*.

* unless a developer makes an error in the value table by specifying an
invalid PG.

CF/BF - Remove final usages of getCurrentAndDefaultConfigs to save more
flash space.

CF/BF - Change CLI command 'dump showdefaults' to simply 'dump defaults'.

* This will save a few bytes of flash space due to string re-use of the
'defaults' string.

CF/BF - Save a few more bytes by re-using the 'defaults' string again.

CF/BF - Fix CLI not being size optimized.

* The file had moved but the makefile was not updated to reflect that.

CF/BF - Add 'fc_init.c' and 'settings.c' to the size optimizations list.

CF/BF - Add some config source files to the size-optimized list.

CF/BF - De-duplicate CR/LF code by using appropriate methods. Promote
additional string re-use.

* This saves quite a lot of space when the file is size optimized, but grows it otherwise.

CF/BF - Further flash savings by removing more CR/LF on the
cliDump/cliDefaultPrintf format strings.

* It turns out that all the format strings ended in CR+LF so they could
all be removed.

CF/BF - Fix LF+CR being used instead of CR+LF for further flash savings.
2017-04-21 12:34:13 +12:00