1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Revert #9215: Vendor specific displayport initialisation.

This commit is contained in:
mikeller 2020-03-15 13:42:56 +13:00
parent b729c3cc99
commit e9cb979cd8
4 changed files with 0 additions and 28 deletions

View file

@ -172,21 +172,6 @@ static const displayPortVTable_t mspDisplayPortVTable = {
displayPort_t *displayPortMspInit(void)
{
#ifdef USE_DISPLAYPORT_MSP_VENDOR_SPECIFIC
// XXX Should handle the case that a device starts to listen after the init string is sent
// XXX 1. Send the init string periodically while not armed.
// XXX 2. Send the init string in response to device identification message from a device.
// Send vendor specific initialization string.
// The string start with subcommand code.
int initLength = displayPortProfileMsp()->vendorInitLength;
if (initLength) {
output(&mspDisplayPort, MSP_DISPLAYPORT, (uint8_t *)displayPortProfileMsp()->vendorInit, initLength);
}
#endif
displayInit(&mspDisplayPort, &mspDisplayPortVTable);
if (displayPortProfileMsp()->useDeviceBlink) {