Skip to content

Commit

Permalink
Merge pull request #6616 from avsaase/avs-ahi-camera-uptilt
Browse files Browse the repository at this point in the history
Camera uptilt AHI compensation
  • Loading branch information
avsaase committed Apr 9, 2021
2 parents 71334c8 + 33f340f commit 5580e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/io/osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1917,7 +1917,7 @@ static bool osdDrawSingleElement(uint8_t item)
rollAngle = DECIDEGREES_TO_RADIANS(attitude.values.roll);
pitchAngle = DECIDEGREES_TO_RADIANS(attitude.values.pitch);
#endif

pitchAngle -= DEGREES_TO_RADIANS(osdConfig()->camera_uptilt);
if (osdConfig()->ahi_reverse_roll) {
rollAngle = -rollAngle;
}
Expand Down

0 comments on commit 5580e1c

Please sign in to comment.