From e0529dde03701ceb7e04d1753b6a60d8f08c0c74 Mon Sep 17 00:00:00 2001 From: Micha Ahrweiler Date: Tue, 11 Oct 2016 13:11:01 +0200 Subject: [PATCH] Remove newlines from VERSION command The newlines from the VERSION command response are removed, as they differ from the specification of "101:OK WITH TEXT" --- Firmware/Chameleon-Mini/Terminal/Commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/Chameleon-Mini/Terminal/Commands.c b/Firmware/Chameleon-Mini/Terminal/Commands.c index 92b208d..9f0f70a 100644 --- a/Firmware/Chameleon-Mini/Terminal/Commands.c +++ b/Firmware/Chameleon-Mini/Terminal/Commands.c @@ -22,7 +22,7 @@ extern const PROGMEM CommandEntryType CommandTable[]; CommandStatusIdType CommandGetVersion(char* OutParam) { snprintf_P(OutParam, TERMINAL_BUFFER_SIZE, PSTR( - "ChameleonMini RevG %S using LUFA %S compiled with AVR-GCC %S\r\nBased on the open-source NFC tool ChameleonMini\r\nhttps://github.com/emsec/ChameleonMini\r\ncommit %S" + "ChameleonMini RevG %S using LUFA %S compiled with AVR-GCC %S. Based on the open-source NFC tool ChameleonMini. https://github.com/emsec/ChameleonMini commit %S" ), PSTR(CHAMELEON_MINI_VERSION_STRING), PSTR(LUFA_VERSION_STRING), PSTR(__VERSION__), PSTR(COMMIT_ID) );