Compass: remove accumulate from example sketch

This commit is contained in:
Randy Mackay 2018-08-02 14:56:22 +09:00 committed by Andrew Tridgell
parent 99b54935db
commit c88926f227

View File

@ -41,8 +41,6 @@ static void loop()
static float max[COMPASS_MAX_INSTANCES][3];
static float offset[COMPASS_MAX_INSTANCES][3];
compass.accumulate();
if ((AP_HAL::micros() - timer) > 100000L) {
timer = AP_HAL::micros();
compass.read();