1.For W5100S,The array size is one byte smaller

2.W5100S also support KA
This commit is contained in:
yaozhiman
2018-12-01 20:10:05 +08:00
parent 435cedca91
commit c2356c8777
3 changed files with 3 additions and 3 deletions

View File

@ -858,7 +858,7 @@ int8_t setsockopt(uint8_t sn, sockopt_type sotype, void* arg)
}
}
break;
#if _WIZCHIP_ > 5200
#if _WIZCHIP_ > 5100
case SO_KEEPALIVEAUTO:
CHECK_SOCKMODE(Sn_MR_TCP);
setSn_KPALVTR(sn,*(uint8_t*)arg);