Skip to content
Snippets Groups Projects
Commit 7448a68a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add BUILD_DATE and BUILD_TIME @-codes

For DesotoFireflite (VALHALLA)
parent 6353477d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2795 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment