mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 07:17:59 +00:00
M115 strings
This commit is contained in:
parent
3a89d34e7f
commit
0473f7ee58
@ -125,7 +125,6 @@
|
|||||||
#define STR_INVALID_E_STEPPER "Invalid E stepper"
|
#define STR_INVALID_E_STEPPER "Invalid E stepper"
|
||||||
#define STR_E_STEPPER_NOT_SPECIFIED "E stepper not specified"
|
#define STR_E_STEPPER_NOT_SPECIFIED "E stepper not specified"
|
||||||
#define STR_INVALID_SOLENOID "Invalid solenoid"
|
#define STR_INVALID_SOLENOID "Invalid solenoid"
|
||||||
#define STR_M115_REPORT "FIRMWARE_NAME:Marlin " DETAILED_BUILD_VERSION " (" __DATE__ " " __TIME__ ") SOURCE_CODE_URL:" SOURCE_CODE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID
|
|
||||||
#define STR_COUNT_X " Count X:"
|
#define STR_COUNT_X " Count X:"
|
||||||
#define STR_COUNT_A " Count A:"
|
#define STR_COUNT_A " Count A:"
|
||||||
#define STR_WATCHDOG_FIRED "Watchdog timeout. Reset required."
|
#define STR_WATCHDOG_FIRED "Watchdog timeout. Reset required."
|
||||||
|
@ -42,8 +42,16 @@
|
|||||||
* the capability is not present.
|
* the capability is not present.
|
||||||
*/
|
*/
|
||||||
void GcodeSuite::M115() {
|
void GcodeSuite::M115() {
|
||||||
|
SERIAL_ECHOLNPGM(
|
||||||
SERIAL_ECHOLNPGM(STR_M115_REPORT);
|
"FIRMWARE_NAME:Marlin " DETAILED_BUILD_VERSION " (" __DATE__ " " __TIME__ ") "
|
||||||
|
"SOURCE_CODE_URL:" SOURCE_CODE_URL " "
|
||||||
|
"PROTOCOL_VERSION:" PROTOCOL_VERSION " "
|
||||||
|
"MACHINE_TYPE:" MACHINE_NAME " "
|
||||||
|
"EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " "
|
||||||
|
#ifdef MACHINE_UUID
|
||||||
|
"UUID:" MACHINE_UUID
|
||||||
|
#endif
|
||||||
|
);
|
||||||
|
|
||||||
#if ENABLED(EXTENDED_CAPABILITIES_REPORT)
|
#if ENABLED(EXTENDED_CAPABILITIES_REPORT)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user