1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 11:59:58 +03:00

Add MSP displayport HD OSD flow diagrams (#12092)

This commit is contained in:
howels 2022-12-27 02:11:21 +00:00 committed by GitHub
parent 962a7d0cae
commit 599a9c66cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,15 @@ The MSP\_SET\_OSD\_CANVAS command is sent by the VTX, or display device, to the
| canvas_cols | uint8 | The number of columns |
| canvas_rows | uint8 | The number of rows |
```mermaid
sequenceDiagram
participant FC
participant VTX
FC->>VTX: MSP_DP_HEARTBEAT sent and detected
VTX->>FC: MSP_SET_OSD_CANVAS set rows/columns
FC->>VTX: MSP request success
```
### MSP\_OSD\_CANVAS
The MSP\_OSD\_CANVAS command is sent by the configurator to the FC to determine the size of the canvas available to the DisplayPort rendering when in HD mode. This is then used on the OSD tab to show the correct number of rows/columns when editing the OSD element positions.
@ -32,6 +41,16 @@ Response is two bytes.
| canvas_cols | uint8 | The number of columns |
| canvas_rows | uint8 | The number of rows |
```mermaid
sequenceDiagram
participant FC
participant Configurator
participant Preview
Configurator->>FC: Configurator connects to FC
Configurator->>FC: MSP_OSD_CANVAS get rows/columns
Configurator->>Preview: OSD Preview pane resized
```
### MSP\_DISPLAYPORT
The MSP\_DISPLAYPORT command is sent by the FC to the display device/VTX to perform a DisplayPort operation.