1
0
Fork 0
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:
Alejandro Hernández Cordero 2023-02-18 20:39:54 +01:00 committed by GitHub
parent 1c92d83c6f
commit 9dc9c51d3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 165 additions and 20 deletions

View file

@ -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)