PC app: added git commit to version info

This commit is contained in:
ole00 2024-03-19 20:57:10 +00:00
parent a9bf98b719
commit 52466f64c6

View File

@ -50,6 +50,12 @@ To compile: gcc -g3 -O0 -o afterburner afterburner.c
#define VERSION "v.0.5.8" #define VERSION "v.0.5.8"
#ifdef GCOM
#define VERSION_EXTENDED VERSION "-" GCOM
#else
#define VERSION_EXTENDED VERSION
#endif
#define MAX_LINE (16*1024) #define MAX_LINE (16*1024)
#define MAXFUSES 30000 #define MAXFUSES 30000
@ -159,7 +165,7 @@ static void printGalTypes() {
} }
static void printHelp() { static void printHelp() {
printf("Afterburner " VERSION " a GAL programming tool for Arduino based programmer\n"); printf("Afterburner " VERSION_EXTENDED " a GAL programming tool for Arduino based programmer\n");
printf("more info: https://github.com/ole00/afterburner\n"); printf("more info: https://github.com/ole00/afterburner\n");
printf("usage: afterburner command(s) [options]\n"); printf("usage: afterburner command(s) [options]\n");
printf("commands: ierwvsbm\n"); printf("commands: ierwvsbm\n");