diff --git a/Drivers/ButtonControl/Source/ButtonControl.h b/Drivers/ButtonControl/Source/ButtonControl.h index 60bd4231..74886ce6 100644 --- a/Drivers/ButtonControl/Source/ButtonControl.h +++ b/Drivers/ButtonControl/Source/ButtonControl.h @@ -3,6 +3,7 @@ #include #include #include +#include class ButtonControl final : public tt::hal::encoder::EncoderDevice { diff --git a/Tactility/Source/network/HttpdReq.cpp b/Tactility/Source/network/HttpdReq.cpp index 8f965e27..d142f2fb 100644 --- a/Tactility/Source/network/HttpdReq.cpp +++ b/Tactility/Source/network/HttpdReq.cpp @@ -87,7 +87,7 @@ std::unique_ptr receiveByteArray(httpd_req_t* request, size_t length, si size_t read_size = length - bytesRead; size_t bytes_received = httpd_req_recv(request, buffer + bytesRead, read_size); if (bytes_received <= 0) { - LOGGER.warn("Received {} / {}", bytesRead + bytes_received, length); + LOGGER.warn("Received error {} after reading {}/{} bytes", bytes_received, bytesRead, length); return nullptr; }