mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 06:10:45 +08:00
Correct MPU6/9k external detection
This commit is contained in:
1 parent
eb86730dca
commit
3ba3aff505
2 files changed
+2
-2
No files matched your search
@@ -377,7 +377,7 @@ private:
|
||||
bool is_external()
|
||||
{
|
||||
unsigned dummy;
|
||||
return !_interface->ioctl(ACCELIOCGEXTERNAL, dummy);
|
||||
return _interface->ioctl(ACCELIOCGEXTERNAL, dummy);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -482,7 +482,7 @@ private:
|
||||
bool is_external()
|
||||
{
|
||||
unsigned dummy;
|
||||
return !_interface->ioctl(ACCELIOCGEXTERNAL, dummy);
|
||||
return _interface->ioctl(ACCELIOCGEXTERNAL, dummy);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user