Correct MPU6/9k external detection

This commit is contained in:
Nate Weibley authored and Beat Küng committed 2017-03-31 11:04:14 +02:00
1 parent eb86730dca
commit 3ba3aff505
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -377,7 +377,7 @@ private:
bool is_external()
{
unsigned dummy;
return !_interface->ioctl(ACCELIOCGEXTERNAL, dummy);
return _interface->ioctl(ACCELIOCGEXTERNAL, dummy);
}
/**
+1 -1
View File
@@ -482,7 +482,7 @@ private:
bool is_external()
{
unsigned dummy;
return !_interface->ioctl(ACCELIOCGEXTERNAL, dummy);
return _interface->ioctl(ACCELIOCGEXTERNAL, dummy);
}
/**