diff --git a/g2core/settings/settings_shopbot_sbv300.h b/g2core/settings/settings_shopbot_sbv300.h index 90ba2678c..2cf538bb7 100644 --- a/g2core/settings/settings_shopbot_sbv300.h +++ b/g2core/settings/settings_shopbot_sbv300.h @@ -56,7 +56,7 @@ // Communications and reporting settings -#define USB_SERIAL_PORTS_EXPOSED 2 // Valid options are 1 or 2, only! +#define USB_SERIAL_PORTS_EXPOSED 1 // Valid options are 1 or 2, only! #define COMM_MODE JSON_MODE // one of: TEXT_MODE, JSON_MODE #define XIO_ENABLE_FLOW_CONTROL FLOW_CONTROL_RTS // FLOW_CONTROL_OFF, FLOW_CONTROL_RTS diff --git a/g2core/xio.cpp b/g2core/xio.cpp index f0d72670c..0992de053 100755 --- a/g2core/xio.cpp +++ b/g2core/xio.cpp @@ -324,9 +324,11 @@ struct xio_t { void flushToCommand() { for (int8_t i = 0; i < _dev_count; ++i) { - if (DeviceWrappers[i]->flushToCommand()) { - return; // we only care to flush the one that last returned a control. - } + DeviceWrappers[i]->flushToCommand(); + //if (DeviceWrappers[i]->flushToCommand()) { + // return; // we only care to flush the one that last returned a control. + //} + } }