mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 13:00:57 +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:
1 parent
9a8c092116
commit
0f6a6f7150
1 file changed
+1
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user