diff --git a/slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer b/slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer index e505763a3..c3dc5277e 100755 Binary files a/slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer and b/slsDetectorServers/ctbDetectorServer/bin/ctbDetectorServer_developer differ diff --git a/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer b/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer index 848800f00..00714c679 100755 Binary files a/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer and b/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer differ diff --git a/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer b/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer index 6b3f61e43..f7ce83250 100755 Binary files a/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer and b/slsDetectorServers/jungfrauDetectorServer/bin/jungfrauDetectorServer_developer differ diff --git a/slsDetectorServers/moenchDetectorServer/bin/moenchDetectorServer_developer b/slsDetectorServers/moenchDetectorServer/bin/moenchDetectorServer_developer index 69af8031f..385d20902 100755 Binary files a/slsDetectorServers/moenchDetectorServer/bin/moenchDetectorServer_developer and b/slsDetectorServers/moenchDetectorServer/bin/moenchDetectorServer_developer differ diff --git a/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer b/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer index 60da29927..8f54e637e 100755 Binary files a/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer and b/slsDetectorServers/mythen3DetectorServer/bin/mythen3DetectorServer_developer differ diff --git a/slsDetectorServers/slsDetectorServer/src/LTC2620_Driver.c b/slsDetectorServers/slsDetectorServer/src/LTC2620_Driver.c index 21db6fed1..6180c5f10 100644 --- a/slsDetectorServers/slsDetectorServer/src/LTC2620_Driver.c +++ b/slsDetectorServers/slsDetectorServer/src/LTC2620_Driver.c @@ -94,13 +94,21 @@ int LTC2620_D_SetDacValue(int dacnum, int val, char *dacname, char *mess) { // fname to write to char fname[MAX_STR_LENGTH]; memset(fname, 0, MAX_STR_LENGTH); - snprintf(fname, sizeof(fname), "%s%d", LTC2620_D_DriverFileName, dacnum); #if defined(XILINX_CHIPTESTBOARDD) + // driver file names are printf formats with the dac number in the middle + // (CURRENT_BOARD_LINKS_FOLDER "/ao%d" and "/ao%d_pd"), so the format + // cannot be a string literal here + const char *fnameFormat = LTC2620_D_DriverFileName; if (val == LTC2620_D_PWR_DOWN_VAL) { - snprintf(fname, sizeof(fname), "%s%d", - LTC2620_D_PowerDownDriverFileName, dacnum); + fnameFormat = LTC2620_D_PowerDownDriverFileName; val = 1; //-100?:Invalid Argument } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wformat-nonliteral" + snprintf(fname, sizeof(fname), fnameFormat, dacnum); +#pragma GCC diagnostic pop +#else + snprintf(fname, sizeof(fname), "%s%d", LTC2620_D_DriverFileName, dacnum); #endif LOG(logDEBUG1, ("fname %s\n", fname)); diff --git a/slsDetectorServers/xilinx_ctbDetectorServer/bin/xilinx_ctbDetectorServer_developer b/slsDetectorServers/xilinx_ctbDetectorServer/bin/xilinx_ctbDetectorServer_developer index 7fa4e235d..c9b913eb0 100755 Binary files a/slsDetectorServers/xilinx_ctbDetectorServer/bin/xilinx_ctbDetectorServer_developer and b/slsDetectorServers/xilinx_ctbDetectorServer/bin/xilinx_ctbDetectorServer_developer differ diff --git a/slsSupportLib/include/sls/versionAPI.h b/slsSupportLib/include/sls/versionAPI.h index 265e08aec..76e7ea009 100644 --- a/slsSupportLib/include/sls/versionAPI.h +++ b/slsSupportLib/include/sls/versionAPI.h @@ -3,11 +3,11 @@ /** API versions */ #define APILIB "0.0.0 0x250909" #define APIRECEIVER "0.0.0 0x250822" -#define APICTB "0.0.0 0x261027" -#define APIGOTTHARD2 "0.0.0 0x261027" -#define APIMOENCH "0.0.0 0x261027" +#define APICTB "0.0.0 0x261028" +#define APIGOTTHARD2 "0.0.0 0x261028" +#define APIMOENCH "0.0.0 0x261028" #define APIEIGER "0.0.0 0x261027" -#define APIXILINXCTB "0.0.0 0x261027" -#define APIJUNGFRAU "0.0.0 0x261027" -#define APIMYTHEN3 "0.0.0 0x261027" +#define APIXILINXCTB "0.0.0 0x261028" +#define APIJUNGFRAU "0.0.0 0x261028" +#define APIMYTHEN3 "0.0.0 0x261028" #define APIMATTERHORN "0.0.0 0x260529"