mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 03:54:08 +08:00
mavlink_messages.cpp: only warn once, when MAVLink log opening fails
This happens for example if no SD card is present.
This commit is contained in:
parent
9a8c092116
commit
0f6a6f7150
@ -459,6 +459,7 @@ protected:
|
||||
#endif
|
||||
} else {
|
||||
PX4_WARN("Failed to open MAVLink log: %s", log_file_path);
|
||||
_write_err_count = write_err_threshold; //only try to open the file once
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user