From 70ccf9f1c9ff278fef308efada1d295069f392ba Mon Sep 17 00:00:00 2001 From: Andrey Klimov Date: Thu, 6 Jan 2022 01:12:35 +0300 Subject: [PATCH] Print compilation option --- build-flags/build_flags_lighthub21 | 11 +++++++++-- lighthub/main.cpp | 27 +++++++++++++++------------ 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/build-flags/build_flags_lighthub21 b/build-flags/build_flags_lighthub21 index e1dd9be..60e3bb7 100644 --- a/build-flags/build_flags_lighthub21 +++ b/build-flags/build_flags_lighthub21 @@ -1,11 +1,9 @@ -DW5500_CS_PIN=53 -DARTNET_ENABLE -DDMX_SMOOTH --DMODBUS_DIMMER_PARAM=SERIAL_8E1 -DMODBUS_SERIAL_BAUD=9600 -DOTA -DSYSLOG_ENABLE -#-DWiz5500 -DSTATUSLED -DMCP23017 #-DPID_DISABLE @@ -13,6 +11,15 @@ -DMDNS_ENABLE -DTIMER_INT +# Serial parameters for LEGACY Modbus +-DMODBUS_DIMMER_PARAM=SERIAL_8E1 + +#Set Logariphmic law for DMX channels bright +-DBRIGHT_LOG + +#disable HOMIE topics publishing +-DNO_HOMIE + #Put modbus exchange in debug hex dump #-DMODBUS_DEBUG diff --git a/lighthub/main.cpp b/lighthub/main.cpp index 58c1b25..4f29584 100644 --- a/lighthub/main.cpp +++ b/lighthub/main.cpp @@ -1378,8 +1378,6 @@ void printConfigSummary() { infoSerial<" QUOTE(MODULE_UATRBRIDGE_UARTB)); #else infoSerial<