Compare commits
No commits in common. "ebf65d744838a5c7bbf6ddfff6cb4428f012fd97" and "6c76dfc7aed2594579f09d0b797d6a51cffff343" have entirely different histories.
ebf65d7448
...
6c76dfc7ae
9
makefile
9
makefile
@ -72,18 +72,17 @@ export
|
|||||||
|
|
||||||
help:
|
help:
|
||||||
@echo Shellmatta help
|
@echo Shellmatta help
|
||||||
@echo -----------------------------------------------
|
@echo -------------------------
|
||||||
@echo test - run all tests
|
@echo test - run all tests
|
||||||
@echo cppcheck - run static code analysis (cppcheck)
|
|
||||||
@echo example - build example
|
@echo example - build example
|
||||||
@echo -----------------------------------------------
|
@echo -------------------------
|
||||||
|
|
||||||
test: unittest integrationtest
|
test: unittest integrationtest
|
||||||
|
|
||||||
cppcheck:
|
cppcheck:
|
||||||
- @mkdir -p output/cppcheck/html
|
- @mkdir -p output/cppcheck/html
|
||||||
cppcheck --enable=all --template=gcc --cppcheck-build-dir=output/cppcheck $(SOURCES)
|
cppcheck --addon=/usr/bin/misra.py --enable=all --template=gcc --cppcheck-build-dir=output/cppcheck $(SOURCES)
|
||||||
cppcheck --enable=all --template=gcc --cppcheck-build-dir=output/cppcheck $(SOURCES) --xml 2>output/cppcheck/cppcheck.xml
|
cppcheck --addon=/usr/bin/misra.py --enable=all --template=gcc --cppcheck-build-dir=output/cppcheck $(SOURCES) --xml 2>output/cppcheck/cppcheck.xml
|
||||||
cppcheck-htmlreport --file=output/cppcheck/cppcheck.xml --title="Shellmatta" --report-dir=output/cppcheck/html
|
cppcheck-htmlreport --file=output/cppcheck/cppcheck.xml --title="Shellmatta" --report-dir=output/cppcheck/html
|
||||||
|
|
||||||
unittest: $(UNITTEST_TARGET)
|
unittest: $(UNITTEST_TARGET)
|
||||||
|
@ -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->continuousCmd;
|
inst->busyCmd = inst->busyCmd;
|
||||||
inst->continuousCmd = NULL;
|
inst->continuousCmd = NULL;
|
||||||
}
|
}
|
||||||
else if(('\x03' == data[inst->byteCounter]))
|
else if(('\x03' == data[inst->byteCounter]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user