Cleanup '...' strings to reduce binary size. Change version
information.
With this change it's much more obvious what is and what is not included
in a profile.
Examples:
dump
dump profile
dump master
When changing profiles with the sticks, CleanFlight was beeping 0 times for profile
1, once for profile 2, and twice for profile 3. This wasn't intuitive, and was
different to how Baseflight beeps when changing profiles.
This change makes baseflight give the same number of beeps as the profile number
that you change into.
This enables the user to type "get variablename" in the CLI, which then shows the value of that variable (or a message saying "Variable 'variablename' not found").
This is easier for the user when they just want to see a single variable, instead of typing 'dump' and then having to parse a big long list of data. It is also more intuitive than typing 'set variablename', as this feels unsafe.
The throttle stick input now directly sets the vertical velocity
setpoint of the copter. (alt_hold_fast_change = 0)
Conflicts:
src/imu.c
src/mw.c
src/mw.h
The previous code before 5b1de9cce966c033ae7b01d9318161e0e40e08a8 was
using (x / 8) and then constraining using +/- 1024. Removing the / 8 in
commit 5b1de9cce966c033ae7b01d9318161e0e40e08a8 should have meant the
new constraint values were (1024 * 8) = 8192.
set the variable accz_lpf_cutoff to the desired cutoff frequency
this can help to make althold smoother on copters with lots of
vibrations
Conflicts:
src/cli.c
src/config.c
src/imu.c
src/mw.h
This makes the binary considerably smaller (73852 text with gcc
4.7.3, 71620 text with gcc 4.9.0 from TNT).
Build-tested only.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
This saves a bit more space and a reasonable thing to do since a
custom startup is used anyway.
Build-tested only.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
This removes a function that's no longer used, and inline specifiers
from include file (where they're useless anyway). This makes the whole
default project warnings-free with -Wall -pedantic.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
this lets the naze emulate the FAS100 current sensor and also transmits
the internally calculated mAh drawn via the fuel level data.
Conflicts:
src/main/telemetry/frsky.c
Conflicts:
src/main/telemetry/frsky.c
This rearranges Makefile a bit and enables Link Time Optimisation
which leads to a smaller code (77724 text with gcc 4.7.3).
Unconditionally adding -ggdb3 doesn't affect code size anyhow as all
the debugging info is stored in separate sections.
Build-tested only.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Conflicts:
Makefile