diff --git a/site_ansto/hardsup/omron_asyncprotocol.c b/site_ansto/hardsup/omron_asyncprotocol.c index 05d6556c..dfea149e 100644 --- a/site_ansto/hardsup/omron_asyncprotocol.c +++ b/site_ansto/hardsup/omron_asyncprotocol.c @@ -120,9 +120,7 @@ static int OMRON_PrepareTxn(pAsyncProtocol p, pAsyncTxn txn, const char* cmd, in txn->out_buf[0] = STX; txn->out_buf[cmd_len + 1] = ETX; txn->out_buf[cmd_len + 2] = calc_bcc(txn->out_buf); - txn->out_buf[cmd_len + 3] = 0x0D; - txn->out_buf[cmd_len + 4] = 0x0A; - txn->out_len = cmd_len + 5; + txn->out_len = cmd_len + 3; return 1; }