fix an annoying bug

Signed-off-by: Stepan Usatyuk <usaatyuk@ustk.me>
This commit is contained in:
2019-05-29 15:57:13 +03:00
parent 617f196178
commit b079e48880
3 changed files with 3 additions and 6 deletions

View File

@@ -81,7 +81,6 @@ void requestEvent() {
void execCommand() {
executing = true;
cli();
if (command[0] == G01 || command[0] == G00) {
if (command[0] == G01) {
needAdjust = true;
@@ -108,10 +107,8 @@ void execCommand() {
adjustRPM();
sei();
return;
}
sei();
}
void setup() {