Skip to content

Commit c8e3459

Browse files
2 parents 77086b8 + 93f3935 commit c8e3459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CYD-Klipper/src/core/klipper-serial/serial_klipper_printer_integration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ int SerialKlipperPrinter::get_power_devices_count()
271271
bool SerialKlipperPrinter::set_power_device_state(const char* device_name, bool state)
272272
{
273273
String request = "/machine/device_power/device?device=" + urlEncode(device_name) + "&action=" + (state ? "on" : "off");
274-
return make_serial_request_nocontent(HttpGet, request.c_str());
274+
return make_serial_request_nocontent(HttpPost, request.c_str());
275275
}
276276

277277
#ifdef CYD_S3

0 commit comments

Comments
 (0)