Skip to content

Commit

Permalink
[fixedwing] protect FbwDatalinkEvent with if FBW_DATALINK
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Oct 6, 2014
1 parent 29c3441 commit 55bc7e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sw/airborne/firmwares/fixedwing/main_fbw.c
Expand Up @@ -273,7 +273,9 @@ void event_task_fbw( void) {
if (crash == 1)
{
for (;;) {
#if FBW_DATALINK
FbwDataLinkEvent();
#endif
}
}
#endif
Expand Down

0 comments on commit 55bc7e7

Please sign in to comment.