Tom Martins
/
Probleme_implementation_lwip
test public
Fork of Modbus by
Revision 2:9e76d51d9fb6, committed 2018-07-02
- Comitter:
- TomTom83
- Date:
- Mon Jul 02 15:18:18 2018 +0000
- Parent:
- 1:a3ee8cb24540
- Commit message:
- probl?mes d'adaptation
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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]++;