1
0
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:
Oleg Semyonov 2011-09-28 22:57:18 +03:00
parent a38c569cd0
commit ed8cf89888
4 changed files with 7 additions and 1 deletions

View File

@ -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 */
/** /**
* @} * @}

View File

@ -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 */
/** /**

View File

@ -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

View File

@ -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"