diff --git a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c index 8043eac8f..05da04f9b 100644 --- a/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/jungfrauDetectorServer/slsDetectorFunctionList.c @@ -1352,6 +1352,7 @@ int getFirstUDPDestination() { void setFirstUDPDestination(int value) { LOG(logINFO, ("Setting first entry to %d\n", value)); + bus_w(CONTROL_REG, bus_r(CONTROL_REG) & ~CONTROL_RX_ENDPTS_START_MSK); bus_w(CONTROL_REG, bus_r(CONTROL_REG) | ((value << CONTROL_RX_ENDPTS_START_OFST) & CONTROL_RX_ENDPTS_START_MSK)); diff --git a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c index 0981918ef..eea091e70 100644 --- a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c +++ b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c @@ -9249,7 +9249,7 @@ int set_udp_first_dest(int file_des) { validate(&ret, mess, arg, retval, "set udp first destination", DEC); if (ret == OK) { firstUDPDestination = arg; - configure_mac(); + //configure_mac(); } } }