Various improvements - mostly UBL-related (#6607)

UBL Clean up.
This commit is contained in:
bgort
2017-05-06 19:59:16 -04:00
committed by Roxy-3D
parent bef9791ea3
commit a59066bca9
4 changed files with 35 additions and 40 deletions

View File

@ -4360,7 +4360,7 @@ void home_all_axes() { gcode_G28(); }
verbose_level = code_seen('V') && code_has_value() ? code_value_int() : 0;
if (!WITHIN(verbose_level, 0, 4)) {
SERIAL_PROTOCOLLNPGM("?(V)erbose Level is implausible (0-4).");
SERIAL_PROTOCOLLNPGM("?(V)erbose level is implausible (0-4).");
return;
}
@ -5081,7 +5081,7 @@ void home_all_axes() { gcode_G28(); }
const int8_t verbose_level = code_seen('V') ? code_value_byte() : 1;
if (!WITHIN(verbose_level, 0, 2)) {
SERIAL_PROTOCOLLNPGM("?(V)erbose Level is implausible (0-2).");
SERIAL_PROTOCOLLNPGM("?(V)erbose level is implausible (0-2).");
return;
}
@ -6183,7 +6183,7 @@ inline void gcode_M42() {
const int8_t verbose_level = code_seen('V') ? code_value_byte() : 1;
if (!WITHIN(verbose_level, 0, 4)) {
SERIAL_PROTOCOLLNPGM("?Verbose Level not plausible (0-4).");
SERIAL_PROTOCOLLNPGM("?(V)erbose level is implausible (0-4).");
return;
}