git version history

This commit is contained in:
Maliakal Dhanya
2014-06-03 13:55:41 +02:00
parent 35035405a0
commit 73ba765647
15 changed files with 84 additions and 39 deletions

View File

@ -8,7 +8,7 @@
#include "firmware_funcs.h"
#include "mcb_funcs.h"
#include "trimming_funcs.h"
#include "gitInfoMythen.h"
// Global variables
@ -580,13 +580,13 @@ int get_id(int file_des) {
retval=getMcsVersion();
break;
case DETECTOR_SOFTWARE_VERSION:
sscanf(THIS_REVISION,"$Rev : %x",&rev1);
retval= SVNREV;
retval= (retval <<32) | SVNDATE;
/* sscanf(THIS_REVISION,"$Rev : %x",&rev1);
rev=((int64_t)rev1);
dat=THIS_SOFTWARE_VERSION;
retval=(dat<<32) | rev;
*/
break;
default:
printf("Required unknown id %d \n", arg);