From ba05d6a0cda7e0e339efd3d311b1ad99edb5d02d Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sat, 24 Nov 2012 15:56:55 +0100 Subject: [PATCH] Give up on REPRAP_HOST_COMPATIBILITY. Was never really accepted and these days, hosts usually adjust to the firmware instead of the other way around. --- config.default.h | 11 ----------- config.gen3.h | 11 ----------- config.gen6.h | 11 ----------- config.gen7-v1.1-v1.3.h | 11 ----------- config.gen7-v1.4.h | 11 ----------- config.ramps-v1.2.h | 11 ----------- config.ramps-v1.3.h | 11 ----------- config.sanguinololu-v1.1.h | 11 ----------- config.sanguinololu-v1.2.h | 11 ----------- config.teensy.h | 11 ----------- dda_queue.c | 4 +--- 11 files changed, 1 insertion(+), 113 deletions(-) diff --git a/config.default.h b/config.default.h index dbd9b0d..adecb78 100644 --- a/config.default.h +++ b/config.default.h @@ -373,17 +373,6 @@ DEFINE_HEATER(bed, PB4, 1) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.gen3.h b/config.gen3.h index 803ded3..b0e9844 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -377,17 +377,6 @@ DEFINE_TEMP_SENSOR(bed, TT_INTERCOM, AIO1, 0) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.gen6.h b/config.gen6.h index cf24217..3aad488 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -361,17 +361,6 @@ DEFINE_HEATER(extruder, PD6, 1) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.gen7-v1.1-v1.3.h b/config.gen7-v1.1-v1.3.h index 07b9616..a9b597e 100644 --- a/config.gen7-v1.1-v1.3.h +++ b/config.gen7-v1.1-v1.3.h @@ -372,17 +372,6 @@ DEFINE_HEATER(bed, DIO3, 1) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.gen7-v1.4.h b/config.gen7-v1.4.h index 327eba9..8b89049 100644 --- a/config.gen7-v1.4.h +++ b/config.gen7-v1.4.h @@ -372,17 +372,6 @@ DEFINE_HEATER(bed, DIO3, 1) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.ramps-v1.2.h b/config.ramps-v1.2.h index 4d8600c..17fefb2 100644 --- a/config.ramps-v1.2.h +++ b/config.ramps-v1.2.h @@ -370,17 +370,6 @@ DEFINE_HEATER(fan, PH6, 1) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.ramps-v1.3.h b/config.ramps-v1.3.h index 02addde..40ac2ed 100644 --- a/config.ramps-v1.3.h +++ b/config.ramps-v1.3.h @@ -372,17 +372,6 @@ DEFINE_HEATER(extruder, PB4, 1) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.sanguinololu-v1.1.h b/config.sanguinololu-v1.1.h index c3124cd..de18be5 100644 --- a/config.sanguinololu-v1.1.h +++ b/config.sanguinololu-v1.1.h @@ -368,17 +368,6 @@ DEFINE_HEATER(bed, PD6, 1) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.sanguinololu-v1.2.h b/config.sanguinololu-v1.2.h index 62bcd7c..b843edf 100644 --- a/config.sanguinololu-v1.2.h +++ b/config.sanguinololu-v1.2.h @@ -368,17 +368,6 @@ DEFINE_HEATER(bed, PD4, 1) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/config.teensy.h b/config.teensy.h index cecb0b9..242fe52 100644 --- a/config.teensy.h +++ b/config.teensy.h @@ -427,17 +427,6 @@ DEFINE_HEATER(fan, DIO8, 0) * * \***************************************************************************/ -/** \def REPRAP_HOST_COMPATIBILITY - RepRap Host changes it's communications protocol from time to time and intentionally avoids backwards compatibility. Set this to the date the source code of your Host was fetched from RepRap's repository, which is likely also the build date. - See the discussion on the reprap-dev mailing list from 11 Oct. 2010. - - Undefine it for best human readability, set it to an old date for compatibility with hosts before August 2010 -*/ -// #define REPRAP_HOST_COMPATIBILITY 19750101 -// #define REPRAP_HOST_COMPATIBILITY 20100806 -// #define REPRAP_HOST_COMPATIBILITY 20110509 -// #define REPRAP_HOST_COMPATIBILITY - /** \def BAUD Baud rate for the serial RS232 protocol connection to the host. Usually 115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL diff --git a/dda_queue.c b/dda_queue.c index 889012a..15498c3 100644 --- a/dda_queue.c +++ b/dda_queue.c @@ -157,9 +157,7 @@ void next_move() { // mb_tail to the timer interrupt routine. mb_tail = t; if (current_movebuffer->waitfor_temp) { - #ifndef REPRAP_HOST_COMPATIBILITY - serial_writestr_P(PSTR("Waiting for target temp\n")); - #endif + serial_writestr_P(PSTR("Waiting for target temp\n")); current_movebuffer->live = 1; setTimer(HEATER_WAIT_TIMEOUT); }