1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00

reverses roll rotation of OSD artificial horizon

This commit is contained in:
Pawel Spychalski (DzikuVx) 2016-12-16 18:18:44 +01:00
parent cc1214385e
commit eebf44fba8

View file

@ -293,7 +293,7 @@ static void osdDrawSingleElement(uint8_t item)
elemPosX = 14;
elemPosY = 6 - 4; // Top center of the AH area
int rollAngle = attitude.values.roll;
int rollAngle = -attitude.values.roll;
int pitchAngle = attitude.values.pitch;
if (maxScreenSize == VIDEO_BUFFER_CHARS_PAL)