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
Applied same to SOFT_I2C driver (but the pin config is compile-time #define)
Conflicts:
src/board.h
src/drv_i2c.h
src/drv_system.c
src/main/drivers/bus_i2c_soft.c
src/main/drivers/bus_i2c_stm32f10x.c