Correct MPU6/9k external detection

This commit is contained in:
Nate Weibley
2017-03-29 16:18:26 -04:00
committed by Beat Küng
parent eb86730dca
commit 3ba3aff505
2 changed files with 2 additions and 2 deletions
+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);
}
/**