mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
added printing detected sensors in 'status' in cli
took out leftovers of old dynamic mixer binary protocol - now cli sets it. added some mpu6050 DMP stuff - all disabled by default, only for testing stuff. ignore it. git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@128 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
007e033364
commit
fd9d986169
10 changed files with 3332 additions and 2664 deletions
2
src/mw.c
2
src/mw.c
|
@ -583,6 +583,8 @@ void loop(void)
|
|||
currentTime = micros();
|
||||
cycleTime = currentTime - previousTime;
|
||||
previousTime = currentTime;
|
||||
|
||||
mpu6050DmpLoop();
|
||||
|
||||
if (sensors(SENSOR_MAG)) {
|
||||
if (abs(rcCommand[YAW]) < 70 && magMode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue