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