mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Fix non working Frsky OSD
Fix declaration Add comment
This commit is contained in:
parent
3d5a0e585c
commit
775e00e133
1 changed files with 4 additions and 0 deletions
|
@ -1046,6 +1046,10 @@ void osdUpdate(timeUs_t currentTimeUs)
|
||||||
|
|
||||||
if (!osdIsReady) {
|
if (!osdIsReady) {
|
||||||
if (!displayCheckReady(osdDisplayPort, false)) {
|
if (!displayCheckReady(osdDisplayPort, false)) {
|
||||||
|
// Frsky osd need a display redraw after search for MAX7456 devices
|
||||||
|
if (osdDisplayPortDeviceType == OSD_DISPLAYPORT_DEVICE_FRSKYOSD) {
|
||||||
|
displayRedraw(osdDisplayPort);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue