소스 검색

replaced forgotten direct write calls - would have bypassed the transport layer

stefan 10 달 전
부모
커밋
f84d0a8c1c
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/shellmatta.c

+ 4 - 4
src/shellmatta.c

@@ -340,13 +340,13 @@ static shellmatta_retCode_t shellmatta_processDataInt(shellmatta_handle_t     ha
                 {
                     if (inst->echoEnabled)
                     {
-                        inst->write("\r\nCommand: ", 11u);
-                        inst->write(inst->buffer, inst->inputCount);
-                        inst->write(" not found", 10u);
+                        SHELLMATTA_WRITE("\r\nCommand: ", 11u);
+                        SHELLMATTA_WRITE(inst->buffer, inst->inputCount);
+                        SHELLMATTA_WRITE(" not found", 10u);
                     }
                     else
                     {
-                        inst->write("\r\nCommand not found!", 20u);
+                        SHELLMATTA_WRITE("\r\nCommand not found!", 20u);
                     }
                 }