mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 05:23:34 +08:00
Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com> Conflicts: src/modules/commander/gyro_calibration.cpp src/modules/mavlink/mavlink_ftp.cpp
This commit is contained in:
@@ -1982,10 +1982,10 @@ void handle_command(struct vehicle_command_s *cmd)
|
||||
if (param == 1) {
|
||||
sdlog2_start_log();
|
||||
|
||||
} else if (param == 0) {
|
||||
} else if (param == -1) {
|
||||
sdlog2_stop_log();
|
||||
} else {
|
||||
warnx("unknown storage cmd");
|
||||
// Silently ignore non-matching command values, as they could be for params.
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user