Skip to content

Commit

Permalink
firmware: app: tasks: Fixing a MISRA-C violation in the position dete…
Browse files Browse the repository at this point in the history
…rmination task #336
  • Loading branch information
mgm8 committed Oct 5, 2023
1 parent 7e33cea commit cf42a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/app/tasks/pos_det.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void vTaskPosDet(void)
/* Create orbit object */
predict_orbital_elements_t *satellite = predict_parse_tle(tle_line_1, tle_line_2);

if (satellite)
if (satellite != NULL)
{
/* Predict satellite position */
struct predict_position my_orbit;
Expand Down

0 comments on commit cf42a9b

Please sign in to comment.