summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/io/test_io.cc
diff options
context:
space:
mode:
Diffstat (limited to '2004/i/nono/src/io/test_io.cc')
-rw-r--r--2004/i/nono/src/io/test_io.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/2004/i/nono/src/io/test_io.cc b/2004/i/nono/src/io/test_io.cc
index 3834893..999549e 100644
--- a/2004/i/nono/src/io/test_io.cc
+++ b/2004/i/nono/src/io/test_io.cc
@@ -29,6 +29,7 @@
#include "date/date.h"
#include "motor/asserv.h"
#include "io_cmd.h"
+#include "servo_cmd.h"
#include <exception>
#include <iostream>
@@ -38,7 +39,7 @@ syntax (void)
{
std::cout <<
"test_io - teste les entrées/sorties.\n"
- << ioHelp <<
+ << ioHelp << servoHelp <<
" <timeout> attend\n"
" ? cet ecran d'aide" << std::endl;
}
@@ -57,7 +58,8 @@ main (int argc, char **argv)
int i = 1;
while (i < argc)
{
- if (!ioCmd (argc, argv, i, gc, gspp))
+ if (!ioCmd (argc, argv, i, gc)
+ && !servoCmd (argc, argv, i, gspp))
{
switch (argv[i][0])
{