mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
artificial horizon
This commit is contained in:
parent
e9868c4e37
commit
1a7ed10ef1
5 changed files with 60 additions and 12 deletions
|
@ -699,6 +699,9 @@ void updateOsd(void)
|
|||
if (masterConfig.osdProfile.item_pos[OSD_CPU_LOAD] != -1) {
|
||||
print_average_system_load(masterConfig.osdProfile.item_pos[OSD_CPU_LOAD], 0);
|
||||
}
|
||||
if (masterConfig.osdProfile.item_pos[OSD_ARTIFICIAL_HORIZON] != -1) {
|
||||
max7456_artificial_horizon(attitude.values.roll, attitude.values.pitch, masterConfig.osdProfile.item_pos[OSD_HORIZON_SIDEBARS] != -1);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
max7456_draw_screen_fast();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue