M115 strings

This commit is contained in:
Scott Lahteine
2020-09-10 22:02:18 -05:00
parent 3a89d34e7f
commit 0473f7ee58
2 changed files with 10 additions and 3 deletions

View File

@ -42,8 +42,16 @@
* the capability is not present.
*/
void GcodeSuite::M115() {
SERIAL_ECHOLNPGM(STR_M115_REPORT);
SERIAL_ECHOLNPGM(
"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)