diff --git a/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer b/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer index 043cdff1e..4ff574d26 100755 Binary files a/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer and b/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer differ diff --git a/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c index 7643fc0fa..8db552853 100644 --- a/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/mythen3DetectorServer/slsDetectorFunctionList.c @@ -249,15 +249,15 @@ u_int16_t getHardwareVersionNumber() { #ifdef VIRTUAL return 0; #endif - return bus_r(MCB_SERIAL_NO_REG); + return ((bus_r(MCB_SERIAL_NO_REG) & MCB_SERIAL_NO_VRSN_MSK) >> + MCB_SERIAL_NO_VRSN_OFST); } u_int32_t getDetectorNumber() { #ifdef VIRTUAL return 0; #endif - return ((bus_r(MCB_SERIAL_NO_REG) & MCB_SERIAL_NO_VRSN_MSK) >> - MCB_SERIAL_NO_VRSN_OFST); + return bus_r(MCB_SERIAL_NO_REG); } u_int64_t getDetectorMAC() { diff --git a/slsSupportLib/include/versionAPI.h b/slsSupportLib/include/versionAPI.h index f45cf6141..02dc7f6de 100644 --- a/slsSupportLib/include/versionAPI.h +++ b/slsSupportLib/include/versionAPI.h @@ -8,5 +8,5 @@ #define APIJUNGFRAU 0x200810 #define APIMOENCH 0x200810 #define APIEIGER 0x200831 -#define APIMYTHEN3 0x200901 #define APIGOTTHARD2 0x200902 +#define APIMYTHEN3 0x200903