Explorar el Código

fix printf missing \n

CaCO3 hace 3 años
padre
commit
78900defad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
         int _result = stat(fn.c_str(), &file_stat);
         printf("Ergebnis %d\n", _result);
         printf("Ergebnis %d\n", _result);
         if (_result == 0) {
         if (_result == 0) {
-            printf("Deleting file : %s", fn.c_str());
+            printf("Deleting file : %s\n", fn.c_str());
             /* Delete file */
             /* Delete file */
             unlink(fn.c_str());
             unlink(fn.c_str());
         }
         }