mirror of
https://github.com/synthetos/g2.git
synced 2026-09-22 03:08:42 +08:00
Fixed reversed move coming out of hold-flush. Look in planner.cpp / planner_reset() for fix.; removed some legacy +++++ comments
This commit is contained in:
@@ -201,7 +201,7 @@ static stat_t _dispatch_command()
|
||||
{
|
||||
if (cs.controller_state != CONTROLLER_PAUSED) {
|
||||
devflags_t flags = DEV_IS_BOTH | DEV_IS_MUTED; // expressly state we'll handle muted devices
|
||||
if ((!mp_planner_is_full(mp)) && (cs.bufp = xio_readline(flags, cs.linelen)) != NULL) { //+++++
|
||||
if ((!mp_planner_is_full(mp)) && (cs.bufp = xio_readline(flags, cs.linelen)) != NULL) {
|
||||
_dispatch_kernel(flags);
|
||||
}
|
||||
}
|
||||
@@ -377,7 +377,7 @@ static stat_t _sync_to_tx_buffer()
|
||||
|
||||
static stat_t _sync_to_planner()
|
||||
{
|
||||
if (mp_planner_is_full(mp)) { // allow up to N planner buffers for this line //+++++
|
||||
if (mp_planner_is_full(mp)) { // allow up to N planner buffers for this line
|
||||
return (STAT_EAGAIN);
|
||||
}
|
||||
return (STAT_OK);
|
||||
|
||||
Reference in New Issue
Block a user