diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-30 12:20:02 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-30 12:20:02 +0200 |
commit | 35cd487a428a9c76609faa8ae0f99afdc376b5a1 (patch) | |
tree | 78dabd4d05bb8f4312bc54e131d6d737640296fc | |
parent | ee8f4dcee639effe982bbb099a6f86f7c4fce5e0 (diff) | |
download | px4-firmware-35cd487a428a9c76609faa8ae0f99afdc376b5a1.tar.gz px4-firmware-35cd487a428a9c76609faa8ae0f99afdc376b5a1.tar.bz2 px4-firmware-35cd487a428a9c76609faa8ae0f99afdc376b5a1.zip |
drivers: Warning fixes
-rw-r--r-- | src/drivers/boards/px4fmu-v1/px4fmu_init.c | 2 | ||||
-rw-r--r-- | src/drivers/boards/px4fmu-v1/px4fmu_led.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/boards/px4fmu-v1/px4fmu_init.c b/src/drivers/boards/px4fmu-v1/px4fmu_init.c index 4b12b75f9..293021f8b 100644 --- a/src/drivers/boards/px4fmu-v1/px4fmu_init.c +++ b/src/drivers/boards/px4fmu-v1/px4fmu_init.c @@ -99,7 +99,7 @@ * CONFIG_ARCH_LEDS configuration switch. */ __BEGIN_DECLS -extern void led_init(); +extern void led_init(void); extern void led_on(int led); extern void led_off(int led); __END_DECLS diff --git a/src/drivers/boards/px4fmu-v1/px4fmu_led.c b/src/drivers/boards/px4fmu-v1/px4fmu_led.c index ea91f34ad..ee53fc43d 100644 --- a/src/drivers/boards/px4fmu-v1/px4fmu_led.c +++ b/src/drivers/boards/px4fmu-v1/px4fmu_led.c @@ -54,13 +54,13 @@ * CONFIG_ARCH_LEDS configuration switch. */ __BEGIN_DECLS -extern void led_init(); +extern void led_init(void); extern void led_on(int led); extern void led_off(int led); extern void led_toggle(int led); __END_DECLS -__EXPORT void led_init() +__EXPORT void led_init(void) { /* Configure LED1-2 GPIOs for output */ |