Skip to content

Commit 77c8f6d

Browse files
authored
removed forgotten commented out code
1 parent 238e1c4 commit 77c8f6d

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

wled00/wled.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -978,32 +978,8 @@ WLED_GLOBAL volatile uint8_t jsonBufferLock _INIT(0);
978978
#define WLED_SYSLOG_PORT 514
979979
#endif
980980
WLED_GLOBAL int syslogPort _INIT(WLED_SYSLOG_PORT);
981-
982-
// Preserved code as comments - protocol setting is now hardcoded
983-
/*
984-
#ifndef WLED_SYSLOG_PROTOCOL
985-
#define WLED_SYSLOG_PROTOCOL SYSLOG_PROTO_BSD
986-
#endif
987-
WLED_GLOBAL uint8_t syslogProtocol _INIT(WLED_SYSLOG_PROTOCOL);
988-
*/
989981
WLED_GLOBAL uint8_t syslogProtocol _INIT(SYSLOG_PROTO_BSD); // Direct initialization with hardcoded BSD protocol value
990-
991-
// Preserved code as comments - facility setting is now hardcoded
992-
/*
993-
#ifndef WLED_SYSLOG_FACILITY
994-
#define WLED_SYSLOG_FACILITY SYSLOG_LOCAL0
995-
#endif
996-
WLED_GLOBAL uint8_t syslogFacility _INIT(WLED_SYSLOG_FACILITY);
997-
*/
998982
WLED_GLOBAL uint8_t syslogFacility _INIT(SYSLOG_LOCAL0); // Direct initialization with hardcoded LOCAL0 facility value
999-
1000-
// Preserved code as comments - severity setting is now hardcoded
1001-
/*
1002-
#ifndef WLED_SYSLOG_SEVERITY
1003-
#define WLED_SYSLOG_SEVERITY SYSLOG_DEBUG
1004-
#endif
1005-
WLED_GLOBAL uint8_t syslogSeverity _INIT(WLED_SYSLOG_SEVERITY);
1006-
*/
1007983
WLED_GLOBAL uint8_t syslogSeverity _INIT(SYSLOG_DEBUG); // Direct initialization with hardcoded DEBUG severity value
1008984
#elif defined(WLED_DEBUG_HOST)
1009985
#include "net_debug.h"

wled00/xml.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,9 +521,6 @@ void getSettingsJS(byte subPage, Print& settingsScript)
521521
printSetFormCheckbox(settingsScript,PSTR("SL_en"), syslogEnabled); // enable/disable
522522
printSetFormValue (settingsScript,PSTR("SL_host"), syslogHost); // host
523523
printSetFormValue (settingsScript,PSTR("SL_port"), syslogPort); // port
524-
// printSetFormValue (settingsScript,PSTR("SL_proto"), syslogProtocol); // protocol
525-
// printSetFormValue (settingsScript,PSTR("SL_fac"), syslogFacility); // facility
526-
// printSetFormValue (settingsScript,PSTR("SL_sev"), syslogSeverity); // severity
527524
#endif
528525

529526
#ifndef WLED_ENABLE_ADALIGHT

0 commit comments

Comments
 (0)