|
@@ -2731,15 +2731,16 @@ void process_commands()
|
2731
|
2731
|
{
|
2732
|
2732
|
zprobe_zoffset = -value; // compare w/ line 278 of ConfigurationStore.cpp
|
2733
|
2733
|
SERIAL_ECHO_START;
|
2734
|
|
- SERIAL_ECHOLNPGM("Z probe offset has been set");
|
|
2734
|
+ SERIAL_ECHOLNPGM(MSG_ZPROBE_ZOFFSET " " MSG_OK);
|
2735
|
2735
|
SERIAL_PROTOCOLLN("");
|
2736
|
2736
|
}
|
2737
|
2737
|
else
|
2738
|
2738
|
{
|
2739
|
2739
|
SERIAL_ECHO_START;
|
2740
|
|
- SERIAL_ECHOPGM("Invalid z-probe value. Must be between ");
|
|
2740
|
+ SERIAL_ECHOPGM(MSG_ZPROBE_ZOFFSET);
|
|
2741
|
+ SERIAL_ECHOPGM(MSG_Z_MIN);
|
2741
|
2742
|
SERIAL_ECHO(Z_PROBE_OFFSET_RANGE_MIN);
|
2742
|
|
- SERIAL_ECHOPGM(" and ");
|
|
2743
|
+ SERIAL_ECHOPGM(MSG_Z_MAX);
|
2743
|
2744
|
SERIAL_ECHO(Z_PROBE_OFFSET_RANGE_MAX);
|
2744
|
2745
|
SERIAL_PROTOCOLLN("");
|
2745
|
2746
|
}
|
|
@@ -2747,7 +2748,7 @@ void process_commands()
|
2747
|
2748
|
else
|
2748
|
2749
|
{
|
2749
|
2750
|
SERIAL_ECHO_START;
|
2750
|
|
- SERIAL_ECHOLNPGM("Z probe offset is currently ");
|
|
2751
|
+ SERIAL_ECHOLNPGM(MSG_ZPROBE_ZOFFSET " : ");
|
2751
|
2752
|
SERIAL_ECHO(-zprobe_zoffset);
|
2752
|
2753
|
SERIAL_PROTOCOLLN("");
|
2753
|
2754
|
}
|