mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-09 01:13:57 -04:00
AP_InertialSensor: fixed example build
This commit is contained in:
parent
905c84bb4c
commit
ff0f6bcd42
@ -97,7 +97,7 @@ void loop(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( user_input == 'r' || user_input == 'R' ) {
|
if( user_input == 'r' || user_input == 'R' ) {
|
||||||
hal.scheduler->reboot();
|
hal.scheduler->reboot(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ void loop(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( user_input == 'r' || user_input == 'R' ) {
|
if( user_input == 'r' || user_input == 'R' ) {
|
||||||
hal.scheduler->reboot();
|
hal.scheduler->reboot(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ void loop(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( user_input == 'r' || user_input == 'R' ) {
|
if( user_input == 'r' || user_input == 'R' ) {
|
||||||
hal.scheduler->reboot();
|
hal.scheduler->reboot(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user