mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 14:38:14 +02:00
something
This commit is contained in:
parent
20918f2d52
commit
6f60f011d1
@ -1676,7 +1676,7 @@ int configureMAC(uint32_t destip,uint64_t destmac,uint64_t sourcemac,int source
|
|||||||
|
|
||||||
bus_w(CONTROL_REG,GB10_RESET_BIT);
|
bus_w(CONTROL_REG,GB10_RESET_BIT);
|
||||||
bus_w(CONTROL_REG,0);
|
bus_w(CONTROL_REG,0);
|
||||||
usleep(10 * 1000);
|
usleep(500 * 1000);
|
||||||
bus_w(CONFIG_REG,conf | GB10_NOT_CPU_BIT);
|
bus_w(CONFIG_REG,conf | GB10_NOT_CPU_BIT);
|
||||||
printf("System status register is %08x\n",bus_r(SYSTEM_STATUS_REG));
|
printf("System status register is %08x\n",bus_r(SYSTEM_STATUS_REG));
|
||||||
return OK;
|
return OK;
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user