mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 02:54:08 +08:00
Output a debug string is Invalid @ parameter #1
line 143 may be crash or buffer overflow. because the argument must is a pointer as char type that and have a valid buffer
This commit is contained in:
parent
47d21f0c57
commit
db2b85cbd4
@ -140,7 +140,7 @@ int rc_calibration_check(int mavlink_fd) {
|
||||
/* sanity checks pass, enable channel */
|
||||
if (count) {
|
||||
mavlink_log_critical(mavlink_fd, "ERROR: %d config error(s) for RC channel %d.", count, (i + 1));
|
||||
warnx(mavlink_fd, "ERROR: %d config error(s) for RC channel %d.", count, (i + 1));
|
||||
warnc(mavlink_fd, "ERROR: %d config error(s) for RC channel %d.", count, (i + 1));
|
||||
usleep(100000);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user