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:
parent
b729c3cc99
commit
e9cb979cd8
4 changed files with 0 additions and 28 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue