1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

Some enhancements

This commit is contained in:
jflyper 2017-01-12 16:53:22 +09:00 committed by Raphael Coeffic
parent 0c026a237a
commit 6550d738db
9 changed files with 269 additions and 13 deletions

View file

@ -53,6 +53,7 @@
#include "io/serial.h"
#include "io/transponder_ir.h"
#include "io/vtx_smartaudio.h"
#include "io/vtx_tramp.h"
#include "msp/msp_serial.h"
@ -215,6 +216,9 @@ void taskVtxControl(uint32_t currentTime)
#ifdef VTX_SMARTAUDIO
smartAudioProcess(currentTime);
#endif
#ifdef VTX_TRAMP
trampProcess(currentTime);
#endif
}
#endif
@ -300,7 +304,7 @@ void fcTasksInit(void)
setTaskEnabled(TASK_STACK_CHECK, true);
#endif
#ifdef VTX_CONTROL
#ifdef VTX_SMARTAUDIO
#if defined(VTX_SMARTAUDIO) || defined(VTX_TRAMP)
setTaskEnabled(TASK_VTXCTRL, true);
#endif
#endif