Commit 7448a68a authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Add BUILD_DATE and BUILD_TIME @-codes

For DesotoFireflite (VALHALLA)
parent 6353477d
Pipeline #2795 passed with stage
in 9 minutes and 20 seconds
......@@ -410,6 +410,12 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool
if(strcmp(sp, "GIT_BRANCH") == 0)
return git_branch;
if(strcmp(sp, "BUILD_DATE") == 0)
return __DATE__;
if(strcmp(sp, "BUILD_TIME") == 0)
return __TIME__;
if(!strcmp(sp,"UPTIME")) {
extern volatile time_t uptime;
time_t up=0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment