mbed OS5
Fork of UIPEthernet by
Diff: UIPUdp.cpp
- Revision:
- 5:59a504be7998
- Parent:
- 4:d774541a34da
- Child:
- 8:4acb22344932
--- a/UIPUdp.cpp Sun Mar 08 20:26:56 2015 +0000 +++ b/UIPUdp.cpp Fri Nov 27 20:34:03 2015 +0000 @@ -224,7 +224,7 @@ // Read a single byte from the current packet int UIPUDP::read(void) { - unsigned char c; + static unsigned char c; if(read(&c, 1) > 0) { return c; }