1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Fixed problem for hidding Horizon in options

This commit is contained in:
Marcin Baliniak 2016-09-20 20:13:53 +02:00
parent cd5c2b674f
commit ad927edc16

View file

@ -712,6 +712,9 @@ void OSD_HORIZON() {
int rollAngle = attitude.values.roll;
int pitchAngle = attitude.values.pitch;
if (!VISIBLE(OSD_cfg.item_pos[OSD_ARTIFICIAL_HORIZON]))
return;
if (max_screen_size == VIDEO_BUFFER_CHARS_PAL)
position += 30;