diff --git a/CYD-Klipper/src/core/klipper-serial/serial_klipper_printer_integration.cpp b/CYD-Klipper/src/core/klipper-serial/serial_klipper_printer_integration.cpp index 618c0be..01ad9ab 100644 --- a/CYD-Klipper/src/core/klipper-serial/serial_klipper_printer_integration.cpp +++ b/CYD-Klipper/src/core/klipper-serial/serial_klipper_printer_integration.cpp @@ -269,7 +269,7 @@ Files SerialKlipperPrinter::get_files() files_result.success = false; JsonDocument doc; LOG_F(("Heap space pre-file-parse: %d bytes\n", esp_get_free_heap_size())); - std::list files; + std::list files; auto timer_request = millis(); bool result = make_serial_request(doc, 5000, HttpGet, "/server/files/list"); diff --git a/CYD-Klipper/src/core/octoprint/octoprint_printer_integration.cpp b/CYD-Klipper/src/core/octoprint/octoprint_printer_integration.cpp index bff131c..e78ef62 100644 --- a/CYD-Klipper/src/core/octoprint/octoprint_printer_integration.cpp +++ b/CYD-Klipper/src/core/octoprint/octoprint_printer_integration.cpp @@ -224,7 +224,6 @@ PrinterDataMinimal OctoPrinter::fetch_min() { HTTPClient client; - int http_code = 0; configure_http_client(client, "/api/printer", true, 1000, printer_config); int http_code = client.GET();