1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

Initialize outboundRing properly to NULL

This commit is contained in:
Harald Barth 2022-11-07 11:20:00 +01:00
parent eb0861959c
commit 7f3d547541

View File

@ -65,7 +65,7 @@ class EthernetInterface {
EthernetServer * server;
EthernetClient clients[MAX_SOCK_NUM]; // accept up to MAX_SOCK_NUM client connections at the same time; This depends on the chipset used on the Shield
uint8_t buffer[MAX_ETH_BUFFER+1]; // buffer used by TCP for the recv
RingStream * outboundRing;
RingStream * outboundRing = NULL;
};
#endif