瀏覽代碼

fix printf missing \n

CaCO3 4 年之前
父節點
當前提交
78900defad
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      code/components/jomjol_fileserver_ota/server_ota.cpp

+ 1 - 1
code/components/jomjol_fileserver_ota/server_ota.cpp

@@ -435,7 +435,7 @@ esp_err_t handler_ota_update(httpd_req_t *req)
         int _result = stat(fn.c_str(), &file_stat);
         printf("Ergebnis %d\n", _result);
         if (_result == 0) {
-            printf("Deleting file : %s", fn.c_str());
+            printf("Deleting file : %s\n", fn.c_str());
             /* Delete file */
             unlink(fn.c_str());
         }