mirror of
https://github.com/Crocmagnon/buzzer.git
synced 2024-11-21 15:38:06 +01:00
Cleanup serial
This commit is contained in:
parent
0184b12bbc
commit
9a9d3b8533
1 changed files with 0 additions and 2 deletions
|
@ -183,7 +183,6 @@ void onUpload(AsyncWebServerRequest *request)
|
||||||
|
|
||||||
void onUploadFile(AsyncWebServerRequest *request, String filename, size_t index, uint8_t *data, size_t len, bool final)
|
void onUploadFile(AsyncWebServerRequest *request, String filename, size_t index, uint8_t *data, size_t len, bool final)
|
||||||
{
|
{
|
||||||
Serial.println("onUploadFile");
|
|
||||||
if (!index)
|
if (!index)
|
||||||
{
|
{
|
||||||
Serial.printf("UploadStart: %s\n", filename.c_str());
|
Serial.printf("UploadStart: %s\n", filename.c_str());
|
||||||
|
@ -198,7 +197,6 @@ void onUploadFile(AsyncWebServerRequest *request, String filename, size_t index,
|
||||||
}
|
}
|
||||||
if (len)
|
if (len)
|
||||||
{
|
{
|
||||||
Serial.printf("Write to: %s\n", filename.c_str());
|
|
||||||
request->_tempFile.write(data, len);
|
request->_tempFile.write(data, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue