M115: Axis Count (#22219)

This commit is contained in:
bilsef 2021-07-15 18:59:52 -07:00 committed by Scott Lahteine
parent 650e1dd1d2
commit e213246ab9

View file

@ -54,6 +54,9 @@ void GcodeSuite::M115() {
"PROTOCOL_VERSION:" PROTOCOL_VERSION " " "PROTOCOL_VERSION:" PROTOCOL_VERSION " "
"MACHINE_TYPE:" MACHINE_NAME " " "MACHINE_TYPE:" MACHINE_NAME " "
"EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " " "EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " "
#if LINEAR_AXES != XYZ
"AXIS_COUNT:" STRINGIFY(LINEAR_AXES) " "
#endif
#ifdef MACHINE_UUID #ifdef MACHINE_UUID
"UUID:" MACHINE_UUID "UUID:" MACHINE_UUID
#endif #endif