mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-22 09:22:54 +01:00
virtual servers compile fix for xilinxfmc (#1352)
This commit is contained in:
@@ -30,7 +30,7 @@ static const char *fmc_files[] = {
|
|||||||
int XILINX_FMC_enable_all(char *error_message, int message_size) {
|
int XILINX_FMC_enable_all(char *error_message, int message_size) {
|
||||||
LOG(logINFOBLUE, ("enable FMC power\n"));
|
LOG(logINFOBLUE, ("enable FMC power\n"));
|
||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
return;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
char full_path[64];
|
char full_path[64];
|
||||||
for (size_t i = 0; i < FMC_NUM_FILES; ++i) {
|
for (size_t i = 0; i < FMC_NUM_FILES; ++i) {
|
||||||
@@ -58,7 +58,7 @@ int XILINX_FMC_enable_all(char *error_message, int message_size) {
|
|||||||
int XILINX_FMC_disable_all(char *error_message, int message_size) {
|
int XILINX_FMC_disable_all(char *error_message, int message_size) {
|
||||||
LOG(logINFOBLUE, ("disable FMC power\n"));
|
LOG(logINFOBLUE, ("disable FMC power\n"));
|
||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
return;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
char full_path[64];
|
char full_path[64];
|
||||||
for (size_t i = 0; i < FMC_NUM_FILES; ++i) {
|
for (size_t i = 0; i < FMC_NUM_FILES; ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user