mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Fixed problem for hidding Horizon in options
This commit is contained in:
parent
cd5c2b674f
commit
ad927edc16
1 changed files with 3 additions and 0 deletions
|
@ -712,6 +712,9 @@ void OSD_HORIZON() {
|
||||||
int rollAngle = attitude.values.roll;
|
int rollAngle = attitude.values.roll;
|
||||||
int pitchAngle = attitude.values.pitch;
|
int pitchAngle = attitude.values.pitch;
|
||||||
|
|
||||||
|
if (!VISIBLE(OSD_cfg.item_pos[OSD_ARTIFICIAL_HORIZON]))
|
||||||
|
return;
|
||||||
|
|
||||||
if (max_screen_size == VIDEO_BUFFER_CHARS_PAL)
|
if (max_screen_size == VIDEO_BUFFER_CHARS_PAL)
|
||||||
position += 30;
|
position += 30;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue