mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
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:
parent
9a95c2ff08
commit
16555ad12e
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user