This commit is contained in:
2024-04-09 10:40:58 +08:00
parent 19119e60b2
commit 58e75077d6
3 changed files with 57 additions and 44 deletions

View File

@ -39,7 +39,7 @@ void write_log(String path,unsigned char level,String write_data)
}
File file;
file = SD_MMC.open(path,"a+");
file = SD_MMC.open(path,"ab+");
file.println(write_data);
file.flush();
file.close();