diff --git a/src/AudioHttp/HttpRequest.h b/src/AudioHttp/HttpRequest.h index 2e6547234..dbaf8e4f7 100644 --- a/src/AudioHttp/HttpRequest.h +++ b/src/AudioHttp/HttpRequest.h @@ -288,7 +288,7 @@ class HttpRequest { if (isChunked()) { write(nullptr, 0); } - LOGI("Request written ... waiting for reply") + LOGI("Request written ... waiting for reply"); // Commented out because this breaks the RP2040 W // client_ptr->flush(); reply_header.read(*client_ptr); diff --git a/src/AudioHttp/URLStream.h b/src/AudioHttp/URLStream.h index 85901351d..01ea2d80e 100644 --- a/src/AudioHttp/URLStream.h +++ b/src/AudioHttp/URLStream.h @@ -231,7 +231,7 @@ class URLStream : public AbstractURLStream { TRACED(); uint32_t end = millis() + timeout; if (request.available() == 0) { - LOGI("Request written ... waiting for reply") + LOGI("Request written ... waiting for reply"); while (request.available() == 0) { if (millis() > end) break; // stop waiting if we got an error diff --git a/src/AudioTools/AudioRuntime.h b/src/AudioTools/AudioRuntime.h index 20e1d1ae2..3904c3c69 100644 --- a/src/AudioTools/AudioRuntime.h +++ b/src/AudioTools/AudioRuntime.h @@ -8,11 +8,11 @@ // delay and millis is needed by this framework #define DESKTOP_MILLIS_DEFINED -inline void delay(uint32_t ms){ vTaskDelay(ms * 1000 / portTICK_PERIOD_MS);} +inline void delay(uint32_t ms){ vTaskDelay(ms / portTICK_PERIOD_MS);} inline uint32_t millis() {return (xTaskGetTickCount() * portTICK_PERIOD_MS);} inline void delayMicroseconds(uint32_t ms) {esp_rom_delay_us(ms);} //inline uint64_t micros() { return xTaskGetTickCount();} -extern uint64_t micros(); +// extern uint64_t micros(); #endif