Fix bug in shellmatta.c

This commit is contained in:
S.Hentges 2020-04-20 21:02:46 +02:00
parent 3f54a989f3
commit 0fa2e5d1f8

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]))