ClosedLoop as singleton
This commit is contained in:
@ -28,9 +28,12 @@
|
||||
#include "../../feature/closedloop.h"
|
||||
|
||||
void GcodeSuite::M12() {
|
||||
|
||||
planner.synchronize();
|
||||
|
||||
if (parser.seenval('S'))
|
||||
set_closedloop(parser.value_int()); // Force a CLC set
|
||||
closedloop.set(parser.value_int()); // Force a CLC set
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user