jungfrau server: flow control 10g fixed

This commit is contained in:
maliakal_d 2019-07-24 15:19:01 +02:00
parent 35aff6bf76
commit c8d9503d5f
3 changed files with 2 additions and 2 deletions

View File

@ -1594,7 +1594,7 @@ int setNetworkParameter(enum NETWORKINDEX mode, int value) {
}
return ((bus_r(CONFIG_REG) & CONFIG_TDMA_TIMESLOT_MSK) >> CONFIG_TDMA_TIMESLOT_OFST);
case FLOW_CONTROL_10G:
case FLOWCTRL_10G:
if (value == 0) {
FILE_LOG(logINFO, ("Switching off 10G flow control\n"));
bus_w(CONFIG_REG, bus_r(CONFIG_REG) &~ CONFIG_ETHRNT_FLW_CNTRL_MSK);

View File

@ -7,4 +7,4 @@
#define APILIB 0x190723
#define APIRECEIVER 0x190722
#define APIGUI 0x190723
#define APIJUNGFRAU 0x190723
#define APIJUNGFRAU 0x190724