Add compile date to shell version command's output

This commit is contained in:
Mario Hüttel 2020-02-12 21:53:13 +01:00
parent 26f8e7ae99
commit 13c528163d

View File

@ -28,7 +28,8 @@ static shellmatta_retCode_t shell_cmd_ver(const shellmatta_handle_t handle,
(void)arguments; (void)arguments;
(void)length; (void)length;
shellmatta_printf(handle, "Reflow Oven Controller Firmware %s", xstr(GIT_VER)); shellmatta_printf(handle, "Reflow Oven Controller Firmware " xstr(GIT_VER) "\r\n"
"Compiled: " __DATE__);
return SHELLMATTA_OK; return SHELLMATTA_OK;
} }