Fix compilation with MULTIMODULE=NO

And allow for Spektrum telemetry to stay enabled (needed for DSMP module).
This commit is contained in:
Raphael Coeffic
2022-07-22 20:45:04 +10:00
committed by Peter Feerick
parent 59466b1978
commit 8379b47e2b
29 changed files with 204 additions and 58 deletions
+14 -2
View File
@@ -25,8 +25,6 @@
#include "stamp.h"
#include "lua_api.h"
#include "api_filesystem.h"
#include "telemetry/frsky.h"
#include "telemetry/multi.h"
#include "aux_serial_driver.h"
#if defined(LIBOPENUI)
@@ -77,6 +75,20 @@
#include "lua/lua_exports_nv14.inc"
#endif
#include "telemetry/frsky.h"
#if defined(MULTIMODULE)
#include "telemetry/multi.h"
#endif
#if defined(CROSSFIRE)
#include "telemetry/crossfire.h"
#endif
#if defined(GHOST)
#include "telemetry/ghost.h"
#endif
#if defined(SIMU)
#define RADIO_VERSION FLAVOUR "-simu"
#else