diff --git a/ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.c b/ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.c index 8466d4c4..0b4f2e7a 100644 --- a/ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.c +++ b/ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.c @@ -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; diff --git a/ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.h b/ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.h index a081c9a0..93005ec9 100644 --- a/ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.h +++ b/ARDroneLib/Soft/Lib/ardrone_tool/ardrone_tool.h @@ -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); diff --git a/ARDroneLib/VP_SDK/Build/Makefile b/ARDroneLib/VP_SDK/Build/Makefile index bda32593..27418d2f 100644 --- a/ARDroneLib/VP_SDK/Build/Makefile +++ b/ARDroneLib/VP_SDK/Build/Makefile @@ -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