Skip to content

Commit

Permalink
Rename handler for GCode prefix transmission.
Browse files Browse the repository at this point in the history
NP-327
  • Loading branch information
saumyaj3 committed Aug 22, 2024
1 parent 1177f6f commit bf76f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/communication/EmscriptenCommunication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ EmscriptenCommunication::EmscriptenCommunication(const std::vector<std::string>&

void EmscriptenCommunication::sendGCodePrefix(const std::string& prefix) const
{
emscripten_run_script(fmt::format("globalThis[\"{}\"](\"{}\")", gcode_prefix_handler_, convertTobase64(prefix)).c_str());
emscripten_run_script(fmt::format("globalThis[\"{}\"](\"{}\")", gcode_header_handler_, convertTobase64(prefix)).c_str());
}

void EmscriptenCommunication::sendProgress(double progress) const
Expand Down

0 comments on commit bf76f58

Please sign in to comment.