Tom Martins
/
Probleme_implementation_lwip2
test public
Fork of Probleme_implementation_lwip by
Diff: main.cpp
- Revision:
- 2:9e76d51d9fb6
- Parent:
- 1:a3ee8cb24540
--- a/main.cpp Mon Jul 02 14:36:46 2018 +0000 +++ b/main.cpp Mon Jul 02 15:18:18 2018 +0000 @@ -70,7 +70,12 @@ { ( void )eMBPoll( ); - LwIP_Pkt_Handle(); + if (ETH_CheckFrameReceived()) //Fonctions que j'essaye d'utiliser + { + /* process received ethernet packet */ + LwIP_Pkt_Handle(); //Traite le packet ethernet reçu + } + /* Here we simply count the number of poll cycles. */ usRegInputBuf[0]++;