Little fix

parent be127895
......@@ -9253,7 +9253,10 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
#if ENABLED(FLOWMETER_SENSOR) && ENABLED(MINFLOW_PROTECTION)
if (get_flowrate() < (MINFLOW_PROTECTION*1000)) {
if (IsRunning()) kill(PSTR(MSG_KILLED)); : stop();
if (IsRunning())
kill(PSTR(MSG_KILLED));
else
stop();
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment