mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Added SITL Gazebo (#12346)
This commit is contained in:
parent
1c92d83c6f
commit
9dc9c51d3e
12 changed files with 165 additions and 20 deletions
|
@ -114,7 +114,11 @@ static void setConfigCalibrationCompleted(void)
|
|||
|
||||
bool accHasBeenCalibrated(void)
|
||||
{
|
||||
#ifdef SIMULATOR_BUILD
|
||||
return true;
|
||||
#else
|
||||
return accelerometerConfig()->accZero.values.calibrationCompleted;
|
||||
#endif
|
||||
}
|
||||
|
||||
void accResetRollAndPitchTrims(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue