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 63dbd8faed
commit 61588f9d90

View File

@ -272,7 +272,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;