Work on issue #225 - added a xio_flush_to_command() and call in in certain conditions

This commit is contained in:
Rob Giseburt
2017-01-09 15:12:13 -06:00
parent 4d4fb277aa
commit c5792c2d49
4 changed files with 108 additions and 32 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ static void _dispatch_kernel(const devflags_t flags)
// trap single character commands
if (*cs.bufp == '!') { cm_request_feedhold(); }
else if (*cs.bufp == '%') { cm_request_queue_flush(); }
else if (*cs.bufp == '%') { cm_request_queue_flush(); xio_flush_to_command(); }
else if (*cs.bufp == '~') { cm_request_end_hold(); }
else if (*cs.bufp == EOT) { cm_alarm(STAT_KILL_JOB, "EOT Received"); }
else if (*cs.bufp == ENQ) { controller_request_enquiry(); }