fix for first udp

This commit is contained in:
maliakal_d 2021-08-26 17:20:02 +02:00
parent 19b428a91e
commit 18eeb716ad
2 changed files with 2 additions and 1 deletions

View File

@ -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));

View File

@ -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();
}
}
}