mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 09:10:01 +02:00
fix for first udp
This commit is contained in:
parent
19b428a91e
commit
18eeb716ad
@ -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));
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user