-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Small fixes - proper return
in void
, omit unused
#27858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small fixes - proper return
in void
, omit unused
#27858
Conversation
something wrong with Linear Advance, it will take a value, like 0.01, then turn to 0.10, then 1000.0, after every time you click on it or switch menu.
has the value changed for K? should it also be update: so it should be |
… into bugfix-2.1.x-May4
return
in void
, omit unused
Marlin/src/gcode/gcode.cpp
Outdated
@@ -582,7 +582,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) { | |||
case 109: M109(); break; // M109: Wait for hotend temperature to reach target | |||
#endif | |||
|
|||
case 105: M105(); return; // M105: Report Temperatures (and say "ok") | |||
case 105: M105(); no_ok = true; break; // M105: Report Temperatures (and say "ok") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed to bypass "ok" but still do SERIAL_IMPL.msgDone()
.
2123090
to
af54f16
Compare
Description
More to comeChange to Linear Advance in ProUI dwin.cpp does not work:
POW()
/ useeditable_decimal_k
as to "future proof"Omit:
Fixes for additional
Check All
errors/warnings:Use proper
return
invoid
functions:if (blah blah) return [code]
down forvoid
functionsif (blah blah) { [code]; return; }
Requirements
Benefits
Configurations
Related Issues
To see what errors/warnings show, do the following:
PlatformIO > Default (or another
env
) > Advanced > Check All#define _DO_N
#define _ABS
FI void set(const XYval<T> pxy, const T pz, const T pe) { set(pxy, pz); e = pe; }