Merge branch 'Fix_redundant_assignment' of shimatta/shellmatta into develop

This commit is contained in:
sebastian 2020-04-20 21:08:02 +02:00 committed by Gogs
commit ebf65d7448

View File

@ -416,7 +416,7 @@ shellmatta_retCode_t shellmatta_processData(shellmatta_handle_t handle,
/** -# check if continuous mode is canceled or interrupted by busy mode */ /** -# check if continuous mode is canceled or interrupted by busy mode */
if(SHELLMATTA_BUSY == cmdRet) if(SHELLMATTA_BUSY == cmdRet)
{ {
inst->busyCmd = inst->busyCmd; inst->busyCmd = inst->continuousCmd;
inst->continuousCmd = NULL; inst->continuousCmd = NULL;
} }
else if(('\x03' == data[inst->byteCounter])) else if(('\x03' == data[inst->byteCounter]))