Skip to content

Commit

Permalink
Merge pull request #3259 from iNavFlight/agh_fix_mpu9250_stray_debug1
Browse files Browse the repository at this point in the history
Remove stray debug[1]++ statement from mp9250 compass driver
  • Loading branch information
digitalentity authored May 22, 2018
2 parents 05ecae9 + ac5ba38 commit 597b4f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/drivers/compass/compass_mpu9250.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ static bool mpu9250CompassRead(magDev_t * mag)
uint8_t status2 = buf[6];
if (!ack || (status2 & STATUS2_MAG_SENSOR_OVERFLOW)) {
ctx.state = CHECK_STATUS;
debug[1]++;
lastReadResult = false;
return lastReadResult;
}
Expand Down

0 comments on commit 597b4f7

Please sign in to comment.