Skip to content

Commit

Permalink
[modules] mavlink: fix waring comparing to NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Dec 10, 2014
1 parent 98184f8 commit 1a50070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sw/airborne/modules/datalink/mavlink.c
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 1a50070

Please sign in to comment.