binaries in and updated api versioning

This commit is contained in:
2021-10-07 19:11:37 +02:00
parent 6b0e6a72df
commit e3e3639829
17 changed files with 75 additions and 53 deletions

View File

@ -1,13 +1,13 @@
/** API versions */
#define GITBRANCH "udp_numdst"
#define GITBRANCH "g2speed"
#define APILIB 0x210917
#define APIRECEIVER 0x210917
#define APIGUI 0x210819
#define APICTB 0x211005
#define APIGOTTHARD 0x211005
#define APIGOTTHARD2 0x211005
#define APIMYTHEN3 0x211005
#define APIMOENCH 0x210927
#define APIEIGER 0x211005
#define APICTB 0x211007
#define APIGOTTHARD 0x211007
#define APIGOTTHARD2 0x211007
#define APIJUNGFRAU 0x211007
#define APIMYTHEN3 0x211007
#define APIMOENCH 0x211005
#define APIEIGER 0x211007
#define APILIB 0x211007
#define APIRECEIVER 0x211007
#define APIGUI 0x210819

View File

@ -707,10 +707,16 @@ template <> defs::detectorSettings StringTo(const std::string &s) {
template <> defs::speedLevel StringTo(const std::string &s) {
if (s == "full_speed")
return defs::FULL_SPEED;
if (s == "0")
return defs::FULL_SPEED;
if (s == "half_speed")
return defs::HALF_SPEED;
if (s == "1")
return defs::HALF_SPEED;
if (s == "quarter_speed")
return defs::QUARTER_SPEED;
if (s == "2")
return defs::QUARTER_SPEED;
if (s == "108")
return defs::G_108MHZ;
if (s == "144")