mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 13:55:40 +08:00
[modules] mavlink: fix waring comparing to NULL
This commit is contained in:
@@ -135,13 +135,13 @@ void mavlink_event(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if (mavlink_params[i][j] == NULL) {
|
||||
if (mavlink_params[i][j] == '\0') {
|
||||
cmd.param_index = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (mavlink_params[i][j] == NULL) {
|
||||
if (mavlink_params[i][j] == '\0') {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user