- Reworked the connection object and the IO system
- Reworked the support for TRICS - Added a second generation motor
This commit is contained in:
@@ -92,9 +92,9 @@ static int DriverList(SConnection *con, SicsInterp *sics,
|
||||
if (argc < 2 || strcasecmp(argv[1], "list") == 0) {
|
||||
for (p = list; p != NULL; p = p->next) {
|
||||
if (argc < 3) {
|
||||
SCPrintf(con, eStatus, "%s %s %s", p->type, p->name, p->desc);
|
||||
SCPrintf(con, eValue, "%s %s %s", p->type, p->name, p->desc);
|
||||
} else if (strcasecmp(argv[2], p->type) == 0) {
|
||||
SCPrintf(con, eStatus, "%s %s", p->name, p->desc);
|
||||
SCPrintf(con, eValue, "%s %s", p->name, p->desc);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user