From e5b17f9aea941f3e06f894ed1e74482f2b7d6e63 Mon Sep 17 00:00:00 2001 From: Saumya Jain Date: Thu, 22 Aug 2024 11:45:46 +0200 Subject: [PATCH] Fix GCode prefix handler name in EmscriptenCommunication NP-327 --- src/communication/EmscriptenCommunication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/communication/EmscriptenCommunication.cpp b/src/communication/EmscriptenCommunication.cpp index d929a204cb..16701a4dea 100644 --- a/src/communication/EmscriptenCommunication.cpp +++ b/src/communication/EmscriptenCommunication.cpp @@ -41,7 +41,7 @@ EmscriptenCommunication::EmscriptenCommunication(const std::vector& void EmscriptenCommunication::sendGCodePrefix(const std::string& prefix) const { - emscripten_run_script(fmt::format("globalThis[\"{}\"](\"{}\")", gcode_prefix_handler_, prefix).c_str()); + emscripten_run_script(fmt::format("globalThis[\"{}\"](\"{}\")", gcode_header_handler_, prefix).c_str()); } void EmscriptenCommunication::sendProgress(double progress) const