AP_Compass: examples: compass init never fails

This commit is contained in:
Peter Barker 2018-07-03 21:03:50 +10:00 committed by Peter Barker
parent 4fa04e730b
commit 2d16c37844
1 changed files with 1 additions and 3 deletions

View File

@ -20,9 +20,7 @@ static void setup()
board_config.init();
if (!compass.init()) {
AP_HAL::panic("compass initialisation failed!");
}
compass.init();
hal.console->printf("init done - %u compasses detected\n", compass.get_count());
// set offsets to account for surrounding interference