diff options
-rw-r--r-- | Sprinter/Configuration.h | 6 | ||||
-rw-r--r-- | Sprinter/Sprinter.pde | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 5d64c7b..bbc2cfe 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -98,6 +98,12 @@ long max_acceleration_units_per_sq_second[] = {1000,1000,50,10000}; // X, Y, Z a long max_travel_acceleration_units_per_sq_second[] = {500,500,50,500}; // X, Y, Z max acceleration in mm/s^2 for travel moves #endif +// Machine UUID +// This may be useful if you have multiple machines and wish to identify them by using the M115 command. +// By default we set it to zeros. +char uuid[] = "00000000-0000-0000-0000-000000000000"; + + //// AD595 THERMOCOUPLE SUPPORT UNTESTED... USE WITH CAUTION!!!! //// PID settings: diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde index b0400cd..dc26b1c 100644 --- a/Sprinter/Sprinter.pde +++ b/Sprinter/Sprinter.pde @@ -850,7 +850,8 @@ inline void process_commands() #endif break; case 115: // M115 - Serial.println("FIRMWARE_NAME:Sprinter FIRMWARE_URL:http%%3A/github.com/kliment/Sprinter/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1"); + Serial.print("FIRMWARE_NAME:Sprinter FIRMWARE_URL:http%%3A/github.com/kliment/Sprinter/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 UUID:"); + Serial.println(uuid); break; case 114: // M114 Serial.print("X:"); |