]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
update
authorhadaq <hadaq>
Wed, 2 Sep 2009 21:28:22 +0000 (21:28 +0000)
committerhadaq <hadaq>
Wed, 2 Sep 2009 21:28:22 +0000 (21:28 +0000)
trbrich/trbflash.c

index 45b16fe3566ccdb38d737e8f5e07149032558ea5..b9e398a8548df990c1ecd5b3f7f710f36cfc62b9 100644 (file)
@@ -61,9 +61,7 @@ static const char FlashTypeStr[][16] = {"INVALID", "ADCM1", "ADCM2", "MDC"};
 
 static FlashType flashType = FLASH_INVALID; 
 
-#define VERSION_NUMBER "2.00 20090902"
-
-const char trbflash_version[] = "$Revision: 1.12 $"; 
+static const char trbflash_version[] = "$Revision: 1.13 $"; 
 
 /* ------ Local Functions ----------------------------------------------- */
 
@@ -875,7 +873,8 @@ int main(int argc, char ** argv)
       trb_debug = strtoul(optarg, NULL, 0);
       break;
     case 'V':
-      printf("trbflash %s\n", VERSION_NUMBER);
+      printf("trbflash %s using libtrbnet %s\n",
+              trbflash_version, trbnet_version);
       exit(EXIT_SUCCESS);
       break;
     default:
@@ -1181,3 +1180,5 @@ int main(int argc, char ** argv)
   
   exit(EXIT_SUCCESS);
 }
+
+