diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-23 15:02:24 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-23 15:02:24 +0200 |
commit | a359a1b9408c7e4827c7dcbf7c27bf76ea071662 (patch) | |
tree | 3aaa8960198d92740f2203c17dac0bf869dd1052 /src/modules/commander | |
parent | 951bd70ffcb4a1d420347534e5b999021a412be0 (diff) | |
download | px4-firmware-a359a1b9408c7e4827c7dcbf7c27bf76ea071662.tar.gz px4-firmware-a359a1b9408c7e4827c7dcbf7c27bf76ea071662.tar.bz2 px4-firmware-a359a1b9408c7e4827c7dcbf7c27bf76ea071662.zip |
Fixed audio output to provide decent user feedback
Diffstat (limited to 'src/modules/commander')
-rw-r--r-- | src/modules/commander/commander.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 0463cf8f8..5c0628a16 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -1848,7 +1848,8 @@ void answer_command(struct vehicle_command_s &cmd, enum VEHICLE_CMD_RESULT resul break; case VEHICLE_CMD_RESULT_TEMPORARILY_REJECTED: - mavlink_log_critical(mavlink_fd, "#audio: command temporarily rejected: %u", cmd.command); + /* this needs additional hints to the user - so let other messages pass and be spoken */ + mavlink_log_critical(mavlink_fd, "command temporarily rejected: %u", cmd.command); tune_negative(true); break; |