Explorar el Código

Fix bug in shellmatta.c

S.Hentges hace 4 años
padre
commit
0fa2e5d1f8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/shellmatta.c

+ 1 - 1
src/shellmatta.c

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