1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00

Call vtxCommonProcess instead of device dependent periodic service function

This commit is contained in:
jflyper 2017-01-15 02:14:39 +09:00
parent 12e265c006
commit b9430f82b7
4 changed files with 18 additions and 4 deletions

View file

@ -32,6 +32,7 @@
#include "drivers/compass.h"
#include "drivers/serial.h"
#include "drivers/stack_check.h"
#include "drivers/vtx_common.h"
#include "fc/config.h"
#include "fc/fc_msp.h"
@ -52,7 +53,6 @@
#include "io/osd.h"
#include "io/serial.h"
#include "io/transponder_ir.h"
#include "io/vtx_smartaudio.h"
#include "msp/msp_serial.h"
@ -212,8 +212,8 @@ void taskVtxControl(uint32_t currentTime)
if (ARMING_FLAG(ARMED))
return;
#ifdef VTX_SMARTAUDIO
smartAudioProcess(currentTime);
#ifdef VTX_COMMON
vtxCommonProcess(currentTime);
#endif
}
#endif