mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +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
|
#endif
|
||||||
|
|
||||||
#ifdef USE_TELEMETRY
|
|
||||||
if (featureIsEnabled(FEATURE_TELEMETRY)) {
|
|
||||||
telemetryInit();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USE_ESC_SENSOR
|
#ifdef USE_ESC_SENSOR
|
||||||
if (featureIsEnabled(FEATURE_ESC_SENSOR)) {
|
if (featureIsEnabled(FEATURE_ESC_SENSOR)) {
|
||||||
escSensorInit();
|
escSensorInit();
|
||||||
|
@ -877,6 +871,12 @@ void init(void)
|
||||||
cmsInit();
|
cmsInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_TELEMETRY
|
||||||
|
if (featureIsEnabled(FEATURE_TELEMETRY)) {
|
||||||
|
telemetryInit();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined(USE_OSD) || (defined(USE_MSP_DISPLAYPORT) && defined(USE_CMS)))
|
#if (defined(USE_OSD) || (defined(USE_MSP_DISPLAYPORT) && defined(USE_CMS)))
|
||||||
displayPort_t *osdDisplayPort = NULL;
|
displayPort_t *osdDisplayPort = NULL;
|
||||||
osdDisplayPortDevice_e osdDisplayPortDevice = OSD_DISPLAYPORT_DEVICE_NONE;
|
osdDisplayPortDevice_e osdDisplayPortDevice = OSD_DISPLAYPORT_DEVICE_NONE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue