From 77a4e1d7f14a2c0a0922dec37d743d2d8434a8c3 Mon Sep 17 00:00:00 2001 From: "dps.lwk" Date: Mon, 11 Oct 2010 00:53:20 +0100 Subject: [PATCH] Resend Request changed from "Resend:" to "rs " As of reprap-mendel-20100806, the RepRap java host expects resend requests using the new "rs " format only, the version before this only excepted "Resend:" Repsnapper as of SVN 348 accepts both formats. Also fixed typo in config.h.dist Signed-off-by: Michael Moon --- config.h.dist | 2 +- gcode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h.dist b/config.h.dist index 484ec60..69071e2 100644 --- a/config.h.dist +++ b/config.h.dist @@ -174,7 +174,7 @@ * list of PWM-able pins and corresponding timers * timer1 is used for step timing so don't use OC1A/OC1B * - * For Arudino Diecimila/Duemilanove/UNO + * For Arduino Diecimila/Duemilanove/UNO * Don't use OC1A/OC1B (DIO9/DIO10) * * OC0A DIO6 diff --git a/gcode.c b/gcode.c index a44820b..e9af250 100644 --- a/gcode.c +++ b/gcode.c @@ -784,7 +784,7 @@ void process_gcode_command(GCODE_COMMAND *gcmd) { ****************************************************************************/ void request_resend(void) { - serial_writestr_P(PSTR("Resend:")); + serial_writestr_P(PSTR("rs ")); serwrite_uint8(next_target.N); serial_writechar('\n'); }