Skip to content

Commit

Permalink
AP_Compass: Use new default for reboot
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric authored and tridge committed Mar 12, 2024
1 parent 1e72e6e commit 9ac0a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Compass/AP_Compass_Calibration.cpp
Expand Up @@ -41,7 +41,7 @@ void Compass::cal_update()
return;
} else if (_cal_has_run && _auto_reboot()) {
hal.scheduler->delay(1000);
hal.scheduler->reboot(false);
hal.scheduler->reboot();
}
}

Expand Down

0 comments on commit 9ac0a9d

Please sign in to comment.