mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
bfin warnings fixed
This commit is contained in:
Binary file not shown.
@ -1537,7 +1537,7 @@ int configureMAC(){
|
||||
// start addr
|
||||
uint32_t addr = RXR_ENDPOINT_START_REG;
|
||||
// get struct memory
|
||||
udp_header *udp = (udp_header*) (Blackfin_getBaseAddress() + addr * 2);
|
||||
udp_header *udp = (udp_header*) (Blackfin_getBaseAddress() + addr / 2);
|
||||
memset(udp, 0, sizeof(udp_header));
|
||||
|
||||
// mac addresses
|
||||
|
Reference in New Issue
Block a user