mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
rename/removed global var sonarAngle to tiltAngle , fix spaces/lines
Conflicts: src/imu.c src/main/drivers/sonar_hcsr04.c
This commit is contained in:
parent
5253064b46
commit
ae0f842266
4 changed files with 666 additions and 660 deletions
|
@ -22,4 +22,4 @@ extern int32_t sonarAlt;
|
|||
void Sonar_init(void);
|
||||
void Sonar_update(void);
|
||||
|
||||
int16_t sonarCalculateAltitude(int32_t sonarAlt, rollAndPitchInclination_t *angle);
|
||||
int32_t sonarCalculateAltitude(int32_t sonarAlt, int16_t tiltAngle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue