mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Fix telemetry displayport initialisation
This commit is contained in:
parent
95589e0fc9
commit
46b69260a2
1 changed files with 6 additions and 6 deletions
|
@ -765,12 +765,6 @@ void init(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_TELEMETRY
|
||||
if (featureIsEnabled(FEATURE_TELEMETRY)) {
|
||||
telemetryInit();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_ESC_SENSOR
|
||||
if (featureIsEnabled(FEATURE_ESC_SENSOR)) {
|
||||
escSensorInit();
|
||||
|
@ -877,6 +871,12 @@ void init(void)
|
|||
cmsInit();
|
||||
#endif
|
||||
|
||||
#ifdef USE_TELEMETRY
|
||||
if (featureIsEnabled(FEATURE_TELEMETRY)) {
|
||||
telemetryInit();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (defined(USE_OSD) || (defined(USE_MSP_DISPLAYPORT) && defined(USE_CMS)))
|
||||
displayPort_t *osdDisplayPort = NULL;
|
||||
osdDisplayPortDevice_e osdDisplayPortDevice = OSD_DISPLAYPORT_DEVICE_NONE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue