tcp pcb: persist_cnt can be u8_t instead of u32_t (since it is compared against u8_t only)

This commit is contained in:
goldsimon 2012-02-12 14:04:59 +01:00
parent 9a95c2ff08
commit 16555ad12e

View File

@ -274,7 +274,7 @@ struct tcp_pcb {
#endif /* LWIP_TCP_KEEPALIVE */ #endif /* LWIP_TCP_KEEPALIVE */
/* Persist timer counter */ /* Persist timer counter */
u32_t persist_cnt; u8_t persist_cnt;
/* Persist timer back-off */ /* Persist timer back-off */
u8_t persist_backoff; u8_t persist_backoff;