Skip to content

Conversation

@bri3d
Copy link
Collaborator

@bri3d bri3d commented Dec 3, 2022

This enables "True HD" mode in Betaflight, without the use of FakeHD.

Note that this requires a Betaflight Flight Controller build from after 12/4/2022 and that currently fixes to the Configurator to make this feature work correctly are pending.

In this PR we:

  • Add support for a new MSP message 188 SET_CANVAS_SIZE, which after MSP API minor version 45 on Betaflight, will set the "canvas size" selectable in the Betaflight configurator to HD mode and the specified dimension (60x22).

  • Automatically send this new message and set the canvas size to 60x22 if the appropriate Betaflight version is detected.

  • Add a new configuration option disable_betaflight_hd on the VTx side to allow users who don't want HD mode (because they love their FakeHD setup, because they want Big Fonts, etc.) to disable this feature.

We also cleanup the use of defines and switch to enums in many places, as well as lay the groundwork for supporting Betaflight 4-page "warning level" fonts, although this feature will require a rewrite of the font loading system and is not currently implemented.

@howels
Copy link

howels commented Dec 4, 2022

Confirmed working with Betaflight configurator dated today and master 4.4 firmware.

@bri3d bri3d merged commit 95d2904 into main Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants