Skip to content

Commit fe7aae9

Browse files
Fix Compile Warning Unused
1 parent b2f01fc commit fe7aae9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/DfaOutput.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ void DfaOutput::stateUpdate(const uint8_t newState, const bool _restoreOutputs)
4747
// <Enumeration Text="jeder Zustands-Aufruf + zyklisch" Value="7" Id="%ENID%" />
4848
// </TypeRestriction>
4949
// </ParameterType>
50+
#if defined(OPENKNX_TRACE1) || defined(OPENKNX_TRACE2) || defined(OPENKNX_TRACE3) || defined(OPENKNX_TRACE4) || defined(OPENKNX_TRACE5)
51+
// TODO check duplicate decision within called method
5052
const bool updateKo = (outputStateSend > 0);
53+
#endif
5154
const bool sendOnRestore = (outputStateSend & 0b1000) == 0;
5255
const uint8_t outputStateSend3 = (outputStateSend & 0b0111);
5356
const bool sendOnChangedValue = (outputStateSend3 >= 2);

0 commit comments

Comments
 (0)