From b5fd764f81f9a2d2c27d366566ec32f0fba17bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 16 Apr 2018 22:02:42 +0200 Subject: [PATCH] Renaming --- code/espurna/debug.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/espurna/debug.ino b/code/espurna/debug.ino index 9470df1e..f442ab56 100644 --- a/code/espurna/debug.ino +++ b/code/espurna/debug.ino @@ -20,7 +20,7 @@ extern "C" { #include WiFiUDP _udp_debug; #if DEBUG_UDP_PORT == 514 -char _udp_header[40] = {0}; +char _udp_syslog_header[40] = {0}; #endif #endif @@ -46,7 +46,7 @@ void _debugSend(char * message) { #endif _udp_debug.beginPacket(DEBUG_UDP_IP, DEBUG_UDP_PORT); #if DEBUG_UDP_PORT == 514 - _udp_debug.write(_udp_header); + _udp_debug.write(_udp_syslog_header); #endif _udp_debug.write(message); _udp_debug.endPacket(); @@ -136,7 +136,7 @@ void debugSetup() { #if DEBUG_UDP_SUPPORT #if DEBUG_UDP_PORT == 514 - snprintf_P(_udp_header, sizeof(_udp_header), PSTR("<%u>%s ESPurna[0]: "), DEBUG_UDP_FAC_PRI, getSetting("hostname").c_str()); + snprintf_P(_udp_syslog_header, sizeof(_udp_syslog_header), PSTR("<%u>%s ESPurna[0]: "), DEBUG_UDP_FAC_PRI, getSetting("hostname").c_str()); #endif #endif