gvanem / Watt-32

Watt-32 TCP/IP library and samples.
https://www.watt-32.net/
18 stars 8 forks source link

`sock_write()`: Skip yield and tcp_tick when already done #104

Closed jwt27 closed 7 months ago

jwt27 commented 7 months ago

Small tweak here. Currently sock_write() will call tcp_tick() and yield even when it has nothing more to send. There's no need for that.

gvanem commented 7 months ago

Merged and thanks again for your great contributions!