From 13015f9a8d2b6b982d7d84e62943fbba15aee05a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C5=ABnas=20Ma=C5=BEeikis?= Date: Wed, 22 May 2019 10:49:08 +0300 Subject: Protocol: switched files to C++ and did minor fixes. The code has a chance to compile now. No changes to actual build files yet. --- include/udp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/udp.h b/include/udp.h index 9b3f785..358e585 100755 --- a/include/udp.h +++ b/include/udp.h @@ -5,8 +5,8 @@ #include static const int com_port = 6996; -extern IPAddress ip; /* Daemon IP */ -extern WiFiUDP Udp; +IPAddress ip; /* Daemon IP */ +WiFiUDP Udp; extern void discover_client(const int port); extern void udp_init_packet(IPAddress ip, const int port); -- cgit v1.2.3