AP_Compass: fixed bitmask typo

This commit is contained in:
Andrew Tridgell 2017-06-18 18:15:18 +10:00
parent 5da2e0b3fb
commit a0e4ec0f3a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }