Merge pull request #24 from yous/fix-compile-error

Fix compile error for W5300
This commit is contained in:
Justin Kim
2018-01-30 08:49:02 +09:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@ -204,7 +204,7 @@ int8_t close(uint8_t sn)
//if( ((getSn_MR(s)& 0x0F) == Sn_MR_TCP) && (getSn_TX_FSR(s) != getSn_TxMAX(s)) )
if( ((getSn_MR(sn)& 0x0F) == Sn_MR_TCP) && (getSn_TX_FSR(sn) != getSn_TxMAX(sn)) )
{
uint8 destip[4] = {0, 0, 0, 1};
uint8_t destip[4] = {0, 0, 0, 1};
// TODO
// You can wait for completing to sending data;
// wait about 1 second;