mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 22:23:22 +01:00
Fix update mode hw version (#594)
* fix to add 'get hardware version' into allowed update mode functions in server
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -87,7 +87,8 @@ int updateModeAllowedFunction(int file_des) {
|
|||||||
F_PROGRAM_FPGA, F_RESET_FPGA, F_INITIAL_CHECKS,
|
F_PROGRAM_FPGA, F_RESET_FPGA, F_INITIAL_CHECKS,
|
||||||
F_REBOOT_CONTROLLER, F_GET_KERNEL_VERSION, F_UPDATE_KERNEL,
|
F_REBOOT_CONTROLLER, F_GET_KERNEL_VERSION, F_UPDATE_KERNEL,
|
||||||
F_UPDATE_DETECTOR_SERVER, F_GET_UPDATE_MODE, F_SET_UPDATE_MODE,
|
F_UPDATE_DETECTOR_SERVER, F_GET_UPDATE_MODE, F_SET_UPDATE_MODE,
|
||||||
F_GET_NUM_CHANNELS, F_GET_NUM_INTERFACES, F_ACTIVATE};
|
F_GET_NUM_CHANNELS, F_GET_NUM_INTERFACES, F_ACTIVATE,
|
||||||
|
F_GET_HARDWARE_VERSION};
|
||||||
size_t allowedFuncsSize = sizeof(allowedFuncs) / sizeof(enum detFuncs);
|
size_t allowedFuncsSize = sizeof(allowedFuncs) / sizeof(enum detFuncs);
|
||||||
|
|
||||||
for (unsigned int i = 0; i < allowedFuncsSize; ++i) {
|
for (unsigned int i = 0; i < allowedFuncsSize; ++i) {
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
#define RELEASE "7.0.0.rc1"
|
#define RELEASE "7.0.0.rc1"
|
||||||
#define APILIB "7.0.0.rc1 0x221208"
|
#define APILIB "7.0.0.rc1 0x221208"
|
||||||
#define APIRECEIVER "7.0.0.rc1 0x221208"
|
#define APIRECEIVER "7.0.0.rc1 0x221208"
|
||||||
#define APICTB "7.0.0.rc1 0x221208"
|
#define APICTB "7.0.0.rc1 0x221212"
|
||||||
#define APIGOTTHARD "7.0.0.rc1 0x221208"
|
#define APIGOTTHARD "7.0.0.rc1 0x221212"
|
||||||
#define APIGOTTHARD2 "7.0.0.rc1 0x221208"
|
#define APIGOTTHARD2 "7.0.0.rc1 0x221212"
|
||||||
#define APIJUNGFRAU "7.0.0.rc1 0x221208"
|
#define APIJUNGFRAU "7.0.0.rc1 0x221212"
|
||||||
#define APIMYTHEN3 "7.0.0.rc1 0x221208"
|
#define APIMYTHEN3 "7.0.0.rc1 0x221212"
|
||||||
#define APIMOENCH "7.0.0.rc1 0x221208"
|
#define APIMOENCH "7.0.0.rc1 0x221212"
|
||||||
#define APIEIGER "7.0.0.rc1 0x221208"
|
#define APIEIGER "7.0.0.rc1 0x221212"
|
||||||
|
|||||||
Reference in New Issue
Block a user