Changeset 11898 for trunk/Ohana/src/opihi/pantasks/ControllerOps.c
- Timestamp:
- Feb 19, 2007, 3:18:27 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/ControllerOps.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/ControllerOps.c
r11446 r11898 352 352 } 353 353 354 /* for commands which don't return a prompt, don't look for one */ 355 if (response == NULL) { 356 return (TRUE); 357 } 358 354 359 /* watch for response - wait up to 1 second */ 355 360 line = NULL; … … 456 461 sprintf (cmd, "quit"); 457 462 InitIOBuffer (&buffer, 0x100); 458 status = ControllerCommand (cmd, "", &buffer);459 FreeIOBuffer (&buffer); 460 461 /* the quit command does not return a prompt, so we always462 get an error on the controller here*/463 status = ControllerCommand (cmd, NULL, &buffer); 464 FreeIOBuffer (&buffer); 465 466 /* the quit command does not return a prompt, 467 check that the controller exited */ 463 468 StopController (); 464 469 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
