From a18a89c77962d2dded0edb42ad98a4167fbb230b Mon Sep 17 00:00:00 2001 From: Simen Svale Skogsrud Date: Thu, 24 Feb 2011 16:08:06 +0100 Subject: [PATCH] fixed linebreaks, was LFCR, is CRLF --- protocol.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/protocol.c b/protocol.c index 083fcac..611ec51 100644 --- a/protocol.c +++ b/protocol.c @@ -34,21 +34,21 @@ static uint8_t char_counter; static void status_message(int status_code) { if (status_code == 0) { - printPgmString(PSTR("ok\n\r")); + printPgmString(PSTR("ok\r\n")); } else { printPgmString(PSTR("error: ")); switch(status_code) { case STATUS_BAD_NUMBER_FORMAT: - printPgmString(PSTR("Bad number format\n\r")); break; + printPgmString(PSTR("Bad number format\r\n")); break; case STATUS_EXPECTED_COMMAND_LETTER: - printPgmString(PSTR("Expected command letter\n\r")); break; + printPgmString(PSTR("Expected command letter\r\n")); break; case STATUS_UNSUPPORTED_STATEMENT: - printPgmString(PSTR("Unsupported statement\n\r")); break; + printPgmString(PSTR("Unsupported statement\r\n")); break; case STATUS_FLOATING_POINT_ERROR: - printPgmString(PSTR("Floating point error\n\r")); break; + printPgmString(PSTR("Floating point error\r\n")); break; default: printInteger(status_code); - printPgmString(PSTR("\n\r")); + printPgmString(PSTR("\r\n")); } } }