Skip to content

Commit

Permalink
Apply review suggestions
Browse files Browse the repository at this point in the history
Contribute to NP-327
  • Loading branch information
jellespijker committed Aug 21, 2024
1 parent 463df70 commit b45dd95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/communication/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,12 @@ void CommandLine::sliceNext()
force_read_parent = false;
force_read_nondefault = false;
}
#ifdef __EMSCRIPTEN__
else if (argument.starts_with("--progress_cb") || argument.starts_with("--slice_info_cb") || argument.starts_with("--gcode_prefix_cb"))
{
// Unused in command line slicing, but used in EmscriptenCommunication.
argument_index++;
argument = arguments_[argument_index];
}
#endif // __EMSCRIPTEN__
else
{
spdlog::error("Unknown option: {}", argument);
Expand Down

0 comments on commit b45dd95

Please sign in to comment.