mirror of
https://github.com/Crocmagnon/buzzer.git
synced 2024-12-26 16:01:49 +01:00
Update wording
This commit is contained in:
parent
4d5122eb24
commit
4bee1156b1
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ void onUploadFile(AsyncWebServerRequest *request, String filename, size_t index,
|
|||
{
|
||||
if (!index)
|
||||
{
|
||||
Serial.printf("UploadStart: %s\n", filename.c_str());
|
||||
Serial.printf("Upload start: %s\n", filename.c_str());
|
||||
String filePath = "/" + filename;
|
||||
request->_tempFile = SD.open(filePath, FILE_WRITE);
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ void onUploadFile(AsyncWebServerRequest *request, String filename, size_t index,
|
|||
|
||||
if (final)
|
||||
{
|
||||
Serial.printf("UploadEnd: %s, %u B\n", filename.c_str(), index + len);
|
||||
Serial.printf("Upload end: %s, %u B\n", filename.c_str(), index + len);
|
||||
request->_tempFile.close();
|
||||
request->redirect("/");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue