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"
This commit is contained in:
Micha Ahrweiler
2016-10-11 13:11:01 +02:00
committed by GitHub
parent bca913ca91
commit e0529dde03
+1 -1
View File
@@ -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)
);