mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Add LTM Telemetry // Remove MSP telemetry
This commit is contained in:
parent
4888a3a375
commit
63dcc3dc1d
8 changed files with 328 additions and 138 deletions
|
@ -38,8 +38,8 @@
|
|||
#include "telemetry/telemetry.h"
|
||||
#include "telemetry/frsky.h"
|
||||
#include "telemetry/hott.h"
|
||||
#include "telemetry/msp.h"
|
||||
#include "telemetry/smartport.h"
|
||||
#include "telemetry/ltm.h"
|
||||
|
||||
static telemetryConfig_t *telemetryConfig;
|
||||
|
||||
|
@ -52,8 +52,8 @@ void telemetryInit(void)
|
|||
{
|
||||
initFrSkyTelemetry(telemetryConfig);
|
||||
initHoTTTelemetry(telemetryConfig);
|
||||
initMSPTelemetry(telemetryConfig);
|
||||
initSmartPortTelemetry(telemetryConfig);
|
||||
initLtmTelemetry(telemetryConfig);
|
||||
|
||||
telemetryCheckState();
|
||||
}
|
||||
|
@ -76,16 +76,16 @@ void telemetryCheckState(void)
|
|||
{
|
||||
checkFrSkyTelemetryState();
|
||||
checkHoTTTelemetryState();
|
||||
checkMSPTelemetryState();
|
||||
checkSmartPortTelemetryState();
|
||||
checkLtmTelemetryState();
|
||||
}
|
||||
|
||||
void telemetryProcess(rxConfig_t *rxConfig, uint16_t deadband3d_throttle)
|
||||
{
|
||||
handleFrSkyTelemetry(rxConfig, deadband3d_throttle);
|
||||
handleHoTTTelemetry();
|
||||
handleMSPTelemetry();
|
||||
handleSmartPortTelemetry();
|
||||
handleLtmTelemetry();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue