Skip to content

Commit

Permalink
Patches to make SDK 2.0.1 compile and link with ROS driver
Browse files Browse the repository at this point in the history
  • Loading branch information
mani-monaj committed Oct 23, 2013
1 parent a3f9cff commit afa3bd2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,11 @@ int ardrone_tool_main(int argc, char **argv)
argc--; argv++;
}

if( show_usage || (argc != 0) )
/*if( show_usage || (argc != 0) )
{
ardrone_tool_usage( appname );
exit(-1);
}
}*/

/* After a first analysis, the arguments are restored so they can be passed to the user-defined functions */
argc=argc_backup;
Expand Down
2 changes: 1 addition & 1 deletion ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ C_RESULT ardrone_tool_shutdown(void);

void ardrone_tool_init_timers_and_mutex();
void ardrone_tool_send_com_watchdog(void); // To send it only once
int main();
//int main();

// There because not defined in embedded
void api_configuration_get_ctrl_mode(void);
Expand Down
4 changes: 4 additions & 0 deletions ARDroneLib/VP_SDK/Build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ define ADD_RULE_TEMPLATE
ifeq ($(USE_ANDROID),yes)
build_lib: build_$(1)
endif
# Following three lines added after more than four hours of WTF debugging -- mani
ifeq ($(USE_LINUX),yes)
build_lib: build_$(1)
endif
endif
endif
endif
Expand Down

0 comments on commit afa3bd2

Please sign in to comment.