aboutsummaryrefslogtreecommitdiff
path: root/apps/commander/commander.c
diff options
context:
space:
mode:
authorJulian Oes <joes@student.ethz.ch>2013-03-11 11:42:23 -0700
committerJulian Oes <joes@student.ethz.ch>2013-03-11 11:42:23 -0700
commit513e1c7398850a2a5b7ec3139d8c6dbc5a32c057 (patch)
tree9761dd5279053a82ba2e6bc5c8a2ecb4de2119ea /apps/commander/commander.c
parent8e837dd1641941d670a30a6f4706a663efa03ca1 (diff)
downloadpx4-firmware-513e1c7398850a2a5b7ec3139d8c6dbc5a32c057.tar.gz
px4-firmware-513e1c7398850a2a5b7ec3139d8c6dbc5a32c057.tar.bz2
px4-firmware-513e1c7398850a2a5b7ec3139d8c6dbc5a32c057.zip
Added missing prototype
Diffstat (limited to 'apps/commander/commander.c')
-rw-r--r--apps/commander/commander.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/commander/commander.c b/apps/commander/commander.c
index aaabe7f4b..28f099991 100644
--- a/apps/commander/commander.c
+++ b/apps/commander/commander.c
@@ -172,6 +172,9 @@ static void do_gyro_calibration(int status_pub, struct vehicle_status_s *status)
static void do_mag_calibration(int status_pub, struct vehicle_status_s *status);
static void do_rc_calibration(int status_pub, struct vehicle_status_s *status);
static void do_accel_calibration(int status_pub, struct vehicle_status_s *status);
+static void do_airspeed_calibration(int status_pub, struct vehicle_status_s *status);
+
+
static void handle_command(int status_pub, struct vehicle_status_s *current_status, struct vehicle_command_s *cmd);
int trigger_audio_alarm(uint8_t old_mode, uint8_t old_state, uint8_t new_mode, uint8_t new_state);
@@ -801,7 +804,7 @@ void do_accel_calibration(int status_pub, struct vehicle_status_s *status)
close(sub_sensor_combined);
}
-void do_airspeed_calibration(int status_pub, struct vehicle_status_s *status)
+static void do_airspeed_calibration(int status_pub, struct vehicle_status_s *status)
{
/* announce change */