Skip to content

Commit

Permalink
Dollar commands are asynchronous by default; helps WebUI
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Oct 9, 2024
1 parent 2403d43 commit 875e627
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions FluidNC/src/ProcessSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -899,8 +899,6 @@ Error do_command_or_setting(const char* key, const char* value, AuthenticationLe
}
}

protocol_buffer_synchronize();

// First search the yaml settings by name. If found, set a new
// value if one is given, otherwise display the current value
try {
Expand Down
2 changes: 1 addition & 1 deletion FluidNC/src/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Command : public Word {
const char* grblName,
const char* fullName,
bool (*cmdChecker)(),
bool synchronous = true);
bool synchronous = false);

// The default implementation of addWebui() does nothing.
// Derived classes may override it to do something.
Expand Down

0 comments on commit 875e627

Please sign in to comment.