From 154de69c024c4809310afbb4a7b6ce312e8eaff6 Mon Sep 17 00:00:00 2001
From: Erik van der Zalm <erik@vdzalm.eu>
Date: Thu, 9 Feb 2012 20:26:17 +0100
Subject: [PATCH] Print configuration.h version during startup (thanks
 hairykiwi)

---
 Marlin/Configuration.h |  6 ++++++
 Marlin/Marlin.pde      | 14 ++++++++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index 9e14a47fc3..7288e8fb56 100644
--- a/Marlin/Configuration.h
+++ b/Marlin/Configuration.h
@@ -5,6 +5,12 @@
 // Advanced settings can be found in Configuration_adv.h 
 // BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
 
+//User specified version info of THIS file to display in [Pronterface, etc] terminal window during startup.
+//Implementation of an idea by Prof Braino to inform user that any changes made
+//to THIS file by the user have been successfully uploaded into firmware.
+#define STRING_VERSION_CONFIG_H "2012-02-08j" //Personal revision number for changes to THIS file.
+#define STRING_CONFIG_H_AUTHOR "username" //Who made the changes.
+
 // This determines the communication speed of the printer
 #define BAUDRATE 250000
 //#define BAUDRATE 115200
diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde
index dcd600468d..5b4bce9b41 100644
--- a/Marlin/Marlin.pde
+++ b/Marlin/Marlin.pde
@@ -248,10 +248,20 @@ void setup()
 { 
   setup_powerhold();
   SERIAL.begin(BAUDRATE);
-  SERIAL_ECHO_START;
-  SERIAL_ECHOLNPGM(VERSION_STRING);
   SERIAL_PROTOCOLLNPGM("start");
   SERIAL_ECHO_START;
+  SERIAL_ECHOPGM("Marlin: ");
+  SERIAL_ECHOLNPGM(VERSION_STRING);
+  #ifdef STRING_VERSION_CONFIG_H
+    #ifdef STRING_CONFIG_H_AUTHOR
+      SERIAL_ECHO_START;
+      SERIAL_ECHOPGM("Configuration.h: ");
+      SERIAL_ECHOPGM(STRING_VERSION_CONFIG_H);
+      SERIAL_ECHOPGM(" | Author: ");
+      SERIAL_ECHOLNPGM(STRING_CONFIG_H_AUTHOR);
+    #endif
+  #endif
+  SERIAL_ECHO_START;
   SERIAL_ECHOPGM("Free Memory:");
   SERIAL_ECHO(freeMemory());
   SERIAL_ECHOPGM(" PlannerBufferBytes:");