mythen3 calc checksum

This commit is contained in:
maliakal_d 2019-10-31 12:31:51 +01:00
parent ba9a0c7917
commit 6c5c4f00b3
4 changed files with 3 additions and 3 deletions

View File

@ -653,7 +653,7 @@ int configureMAC() {
udp->ip_protocol = 0x11; udp->ip_protocol = 0x11;
// total length is redefined in firmware // total length is redefined in firmware
// calcChecksum(udp); calcChecksum(udp);
//TODO? //TODO?
//cleanFifos(); //cleanFifos();

View File

@ -270,7 +270,7 @@ void selectPrimaryInterface(int val);
int getPrimaryInterface(); int getPrimaryInterface();
void setupHeader(int iRxEntry, enum interfaceType type, uint32_t destip, uint64_t destmac, uint32_t destport, uint64_t sourcemac, uint32_t sourceip, uint32_t sourceport); void setupHeader(int iRxEntry, enum interfaceType type, uint32_t destip, uint64_t destmac, uint32_t destport, uint64_t sourcemac, uint32_t sourceip, uint32_t sourceport);
#endif #endif
#if defined(JUNGFRAUD) || defined(GOTTHARD2D) #if defined(JUNGFRAUD) || defined(GOTTHARD2D) || defined(MYTHEN3D)
void calcChecksum(udp_header* udp); void calcChecksum(udp_header* udp);
#endif #endif
#if defined(CHIPTESTBOARDD) || defined(MOENCHD) #if defined(CHIPTESTBOARDD) || defined(MOENCHD)

View File

@ -8,5 +8,5 @@
#define APIEIGER 0x191030 #define APIEIGER 0x191030
#define APIGOTTHARD 0x191030 #define APIGOTTHARD 0x191030
#define APIGOTTHARD2 0x191030 #define APIGOTTHARD2 0x191030
#define APIMYTHEN3 0x191030
#define APICTB 0x191030 #define APICTB 0x191030
#define APIMYTHEN3 0x191031