mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +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
|
@ -159,6 +159,11 @@ void sensorsClear(uint32_t mask)
|
|||
enabledSensors &= ~(mask);
|
||||
}
|
||||
|
||||
uint32_t sensorsMask(void)
|
||||
{
|
||||
return enabledSensors;
|
||||
}
|
||||
|
||||
bool feature(uint32_t mask)
|
||||
{
|
||||
return cfg.enabledFeatures & mask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue