mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
Initcall: fix compilation errors for firmware which does not use Initcalls
This commit is contained in:
parent
a38c569cd0
commit
ed8cf89888
@ -108,6 +108,9 @@
|
|||||||
// This can't be too high to stop eventdispatcher thread overflowing
|
// This can't be too high to stop eventdispatcher thread overflowing
|
||||||
#define PIOS_EVENTDISAPTCHER_QUEUE 10
|
#define PIOS_EVENTDISAPTCHER_QUEUE 10
|
||||||
|
|
||||||
|
/* PIOS Initcall infrastructure */
|
||||||
|
#define PIOS_INCLUDE_INITCALL
|
||||||
|
|
||||||
#endif /* PIOS_CONFIG_H */
|
#endif /* PIOS_CONFIG_H */
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
@ -98,6 +98,8 @@
|
|||||||
/* GPS options */
|
/* GPS options */
|
||||||
#define PIOS_GPS_SETS_HOMELOCATION
|
#define PIOS_GPS_SETS_HOMELOCATION
|
||||||
|
|
||||||
|
/* PIOS Initcall infrastructure */
|
||||||
|
#define PIOS_INCLUDE_INITCALL
|
||||||
|
|
||||||
#endif /* PIOS_CONFIG_H */
|
#endif /* PIOS_CONFIG_H */
|
||||||
/**
|
/**
|
||||||
|
@ -64,7 +64,6 @@ UAVOBJSRCFILENAMES += systemalarms
|
|||||||
UAVOBJSRCFILENAMES += systemsettings
|
UAVOBJSRCFILENAMES += systemsettings
|
||||||
UAVOBJSRCFILENAMES += systemstats
|
UAVOBJSRCFILENAMES += systemstats
|
||||||
UAVOBJSRCFILENAMES += taskinfo
|
UAVOBJSRCFILENAMES += taskinfo
|
||||||
UAVOBJSRCFILENAMES += telemetrysettings
|
|
||||||
UAVOBJSRCFILENAMES += velocityactual
|
UAVOBJSRCFILENAMES += velocityactual
|
||||||
UAVOBJSRCFILENAMES += velocitydesired
|
UAVOBJSRCFILENAMES += velocitydesired
|
||||||
UAVOBJSRCFILENAMES += watchdogstatus
|
UAVOBJSRCFILENAMES += watchdogstatus
|
||||||
|
@ -59,7 +59,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Generic initcall infrastructure */
|
/* Generic initcall infrastructure */
|
||||||
|
#if defined(PIOS_INCLUDE_INITCALL)
|
||||||
#include "pios_initcall.h"
|
#include "pios_initcall.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* PIOS Board Specific Device Configuration */
|
/* PIOS Board Specific Device Configuration */
|
||||||
#include "pios_board.h"
|
#include "pios_board.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user