From ad927edc16192fe4c76b2c65035e60caab5b2365 Mon Sep 17 00:00:00 2001 From: Marcin Baliniak Date: Tue, 20 Sep 2016 20:13:53 +0200 Subject: [PATCH] Fixed problem for hidding Horizon in options --- src/main/io/osd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/io/osd.c b/src/main/io/osd.c index 6c88e93896..b626c90c6e 100755 --- a/src/main/io/osd.c +++ b/src/main/io/osd.c @@ -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;