Fix ATI command

This commit is contained in:
2020-11-22 12:59:23 +01:00
parent b3db7c683c
commit 1e9512925d
2 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
#include "time.h"
#include "led.h"
#define PROJ_STR __PROJ_NAME __PROJ_REV " ::: " __PROJ_AUTHOR __PROJ_DATE
#define PROJ_STR __PROJ_NAME__ " " __PROJ_REV__ " ::: " __PROJ_AUTHOR__ " " __PROJ_DATE__
#define UNUSED(X) (void)(X)
@@ -107,8 +107,8 @@ int8_t cmd_ati_handler(uint8_t mode, char* arg)
if(mode != M_NORM) return -1;
uart_puts_P(PSTR(PROJ_STR "\r\n"));
uart_puts_P(PSTR("compilation " __DATE__ __TIME__ "\n\r"));
uart_puts_P(PSTR("avr-libc v" __AVR_LIBC_VERSION_STRING__ __AVR_LIBC_DATE_STRING__ "\n\r"));
uart_puts_P(PSTR("compilation " __DATE__ " " __TIME__ "\n\r"));
uart_puts_P(PSTR("avr-libc v" __AVR_LIBC_VERSION_STRING__ " " __AVR_LIBC_DATE_STRING__ "\n\r"));
return 0;
}