Fix the invalid argument exit of the main SDK to make the driver compatible with roslaunch.

Esse commit está contido em:
Mani Monajjemi
2012-05-15 15:30:41 -07:00
commit 52d8bc10f2
+1 -1
Ver Arquivo
@@ -359,7 +359,7 @@ int main(int argc, char **argv)
if( show_usage || (argc != 0) )
{
ardrone_tool_usage( appname );
exit(-1);
//exit(-1);
}
/* After a first analysis, the arguments are restored so they can be passed to the user-defined functions */