From 54e8afae71c19cad21e2e8e96752c0b66ce6d9af Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Mon, 5 Jan 2026 22:58:58 +0100 Subject: [PATCH] Fixes --- Drivers/ButtonControl/Source/ButtonControl.h | 1 + Tactility/Source/network/HttpdReq.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; }