diff --git a/lib/App/common/deviceNodeEthernet2Serial.cpp b/lib/App/common/deviceNodeEthernet2Serial.cpp index 366ffc4f..4ae0efed 100644 --- a/lib/App/common/deviceNodeEthernet2Serial.cpp +++ b/lib/App/common/deviceNodeEthernet2Serial.cpp @@ -11,7 +11,7 @@ // #define DEBUG_EXTRA // #define DEBUG_SERIAL_COMMUNICATION // Request / reply timing of the I/O thread: no reply, slow and late replies, one-minute summary -#define DEBUG_COMMUNICATION +// #define DEBUG_COMMUNICATION // timing logs (see the commit "Debug: log communication timing ...") #ifndef E2UART_SLOW_REPLY_MS #define E2UART_SLOW_REPLY_MS 500 #endif diff --git a/lib/App/common/deviceNodeSensor.cpp b/lib/App/common/deviceNodeSensor.cpp index db235c28..a59338b0 100644 --- a/lib/App/common/deviceNodeSensor.cpp +++ b/lib/App/common/deviceNodeSensor.cpp @@ -4,7 +4,7 @@ #include "kernelPrototype.h" // Communication timing: slow replies, timeouts and a one-minute summary (see txTimingReport) -#define DEBUG_COMMUNICATION +// #define DEBUG_COMMUNICATION // timing logs (see the commit "Debug: log communication timing ...") #ifndef LGS_SLOW_REPLY_MS #define LGS_SLOW_REPLY_MS 500 // replies slower than this are logged one by one #endif @@ -213,6 +213,9 @@ void deviceNodeSensor::txTimingDone(bool ok) LOG(tB); }; }; +#else + (void) ok; + (void) tTotal; #endif m_nTxStartMs = 0; m_nTxFirstMs = 0;