mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-03-20 21:23:25 +00:00
Fix compile errors
This commit is contained in:
@@ -269,7 +269,7 @@ Files SerialKlipperPrinter::get_files()
|
|||||||
files_result.success = false;
|
files_result.success = false;
|
||||||
JsonDocument doc;
|
JsonDocument doc;
|
||||||
LOG_F(("Heap space pre-file-parse: %d bytes\n", esp_get_free_heap_size()));
|
LOG_F(("Heap space pre-file-parse: %d bytes\n", esp_get_free_heap_size()));
|
||||||
std::list<FileSystemFile> files;
|
std::list<KlipperFileSystemFile> files;
|
||||||
|
|
||||||
auto timer_request = millis();
|
auto timer_request = millis();
|
||||||
bool result = make_serial_request(doc, 5000, HttpGet, "/server/files/list");
|
bool result = make_serial_request(doc, 5000, HttpGet, "/server/files/list");
|
||||||
|
|||||||
@@ -224,7 +224,6 @@ PrinterDataMinimal OctoPrinter::fetch_min()
|
|||||||
|
|
||||||
{
|
{
|
||||||
HTTPClient client;
|
HTTPClient client;
|
||||||
int http_code = 0;
|
|
||||||
configure_http_client(client, "/api/printer", true, 1000, printer_config);
|
configure_http_client(client, "/api/printer", true, 1000, printer_config);
|
||||||
int http_code = client.GET();
|
int http_code = client.GET();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user