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

Display Git branch/hash used to build sexyz.

parent 0df568c5
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1320 passed
...@@ -73,6 +73,8 @@ ...@@ -73,6 +73,8 @@
#include "ringbuf.h" #include "ringbuf.h"
#include "telnet.h" #include "telnet.h"
#include "nopen.h" #include "nopen.h"
#include "git_branch.h"
#include "git_hash.h"
/* sexyz */ /* sexyz */
#include "sexyz.h" #include "sexyz.h"
...@@ -1525,10 +1527,10 @@ int main(int argc, char **argv) ...@@ -1525,10 +1527,10 @@ int main(int argc, char **argv)
statfp=stdout; statfp=stdout;
#endif #endif
fprintf(statfp,"\nSynchronet External X/Y/ZMODEM v%s-%s" fprintf(statfp,"\nSynchronet External X/Y/ZMODEM v%s %s/%s"
" Copyright Rob Swindell\n\n" " Copyright Rob Swindell\n\n"
,revision ,revision
,PLATFORM_DESC ,GIT_BRANCH, GIT_HASH
); );
xmodem_init(&xm,NULL,&mode,lputs,xmodem_progress,send_byte,recv_byte,is_connected,NULL,flush); xmodem_init(&xm,NULL,&mode,lputs,xmodem_progress,send_byte,recv_byte,is_connected,NULL,flush);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment