Fix bug in shellmatta.c
This commit is contained in:
parent
3f54a989f3
commit
0fa2e5d1f8
@ -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]))
|
||||||
|
Loading…
Reference in New Issue
Block a user