mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: fixed bitmask typo
This commit is contained in:
parent
5da2e0b3fb
commit
a0e4ec0f3a
|
@ -151,7 +151,7 @@ void AP_Compass_QMC5883L::timer()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//new data is ready
|
//new data is ready
|
||||||
if(!status & 0x04){
|
if (!(status & 0x04)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue