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

fixing initializion for anglesrad[]

add drv_softserial to common drivers in Makefile

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@436 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop@gmail.com 2013-10-12 08:07:08 +00:00
parent c682f1f21e
commit 07055c8872
2 changed files with 2 additions and 2 deletions

View file

@ -60,6 +60,7 @@ COMMON_SRC = startup_stm32f10x_md_gcc.S \
drv_i2c_soft.c \
drv_system.c \
drv_serial.c \
drv_softserial.c \
drv_uart.c \
printf.c \
utils.c \
@ -98,7 +99,6 @@ OLIMEXINO_SRC = drv_spi.c \
drv_l3g4200d.c \
drv_pwm.c \
drv_timer.c \
drv_softserial.c \
$(COMMON_SRC)
# Search path for baseflight sources

View file

@ -26,7 +26,7 @@ float accVelScale;
int16_t gyroData[3] = { 0, 0, 0 };
int16_t gyroZero[3] = { 0, 0, 0 };
int16_t angle[2] = { 0, 0 }; // absolute angle inclination in multiple of 0.1 degree 180 deg = 1800
float anglerad[2] = { 0, 0 }; // absolute angle inclination in radians
float anglerad[2] = { 0.0f, 0.0f }; // absolute angle inclination in radians
static void getEstimatedAttitude(void);