mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 17:55:28 +03:00
reverses roll rotation of OSD artificial horizon
This commit is contained in:
parent
cc1214385e
commit
eebf44fba8
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ static void osdDrawSingleElement(uint8_t item)
|
||||||
elemPosX = 14;
|
elemPosX = 14;
|
||||||
elemPosY = 6 - 4; // Top center of the AH area
|
elemPosY = 6 - 4; // Top center of the AH area
|
||||||
|
|
||||||
int rollAngle = attitude.values.roll;
|
int rollAngle = -attitude.values.roll;
|
||||||
int pitchAngle = attitude.values.pitch;
|
int pitchAngle = attitude.values.pitch;
|
||||||
|
|
||||||
if (maxScreenSize == VIDEO_BUFFER_CHARS_PAL)
|
if (maxScreenSize == VIDEO_BUFFER_CHARS_PAL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue