aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/boards/aerocore/aerocore_init.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-10-09 11:13:34 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-10-09 11:13:34 +0200
commitbc5d1648fe298102eb90b0a6f4ce7cedf364b165 (patch)
tree531fb2c4e7cf5e19c9a55b0745b074c98761fa9a /src/drivers/boards/aerocore/aerocore_init.c
parent676cb91a1d973313e15597280121c52cc2d84e43 (diff)
downloadpx4-firmware-bc5d1648fe298102eb90b0a6f4ce7cedf364b165.tar.gz
px4-firmware-bc5d1648fe298102eb90b0a6f4ce7cedf364b165.tar.bz2
px4-firmware-bc5d1648fe298102eb90b0a6f4ce7cedf364b165.zip
Aerocore: Add missing declarations
Diffstat (limited to 'src/drivers/boards/aerocore/aerocore_init.c')
-rw-r--r--src/drivers/boards/aerocore/aerocore_init.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/drivers/boards/aerocore/aerocore_init.c b/src/drivers/boards/aerocore/aerocore_init.c
index 4e3ba2d7e..1ce235da8 100644
--- a/src/drivers/boards/aerocore/aerocore_init.c
+++ b/src/drivers/boards/aerocore/aerocore_init.c
@@ -93,6 +93,19 @@
# endif
#endif
+/*
+ * Ideally we'd be able to get these from up_internal.h,
+ * but since we want to be able to disable the NuttX use
+ * of leds for system indication at will and there is no
+ * separate switch, we need to build independent of the
+ * CONFIG_ARCH_LEDS configuration switch.
+ */
+__BEGIN_DECLS
+extern void led_init(void);
+extern void led_on(int led);
+extern void led_off(int led);
+__END_DECLS
+
/****************************************************************************
* Protected Functions
****************************************************************************/