Better final version of lab03.2
This commit is contained in:
parent
f72a7b33e0
commit
9d5fff9fa0
@ -2,8 +2,8 @@
|
|||||||
#ifndef _HMI_MSG_H_
|
#ifndef _HMI_MSG_H_
|
||||||
#define _HMI_MSG_H_
|
#define _HMI_MSG_H_
|
||||||
|
|
||||||
#define PROG_VERSION "Version: "GIT_DESCR" built on: "__DATE__" "__TIME__"\n"
|
#define PROG_VERSION "Version: %S built on: %S %S\n"
|
||||||
#define LIBC_VERSION "avr-libc version: "__AVR_LIBC_VERSION_STRING__"\n"
|
#define LIBC_VERSION "avr-libc version: %S\n"
|
||||||
#define STUD_NAME "Arti Zirk"
|
#define STUD_NAME "Arti Zirk"
|
||||||
#define GET_MONTH_MSG "Enter Month name first letter >"
|
#define GET_MONTH_MSG "Enter Month name first letter >"
|
||||||
|
|
||||||
|
@ -23,8 +23,8 @@ int main (void)
|
|||||||
/* End init */
|
/* End init */
|
||||||
|
|
||||||
/* Print version info to stderr */
|
/* Print version info to stderr */
|
||||||
fprintf_P(stderr, PSTR(PROG_VERSION));
|
fprintf_P(stderr, PSTR(PROG_VERSION), PSTR(GIT_DESCR), PSTR(__DATE__), PSTR(__TIME__));
|
||||||
fprintf_P(stderr, PSTR(LIBC_VERSION));
|
fprintf_P(stderr, PSTR(LIBC_VERSION), PSTR(__AVR_LIBC_VERSION_STRING__));
|
||||||
/* End version print */
|
/* End version print */
|
||||||
|
|
||||||
fprintf_P(stdout, PSTR(STUD_NAME));
|
fprintf_P(stdout, PSTR(STUD_NAME));
|
||||||
|
Loading…
Reference in New Issue
Block a user