Lines of code count not available
remove space after <= and add space end of function call.
Is this time out after D80 opening or D65 closing state? if it is D65 closed, you need to start the timer after D65 closing.
if we are not checking level, this can be removed and function name also can be updated accordingly.
Is this a TODO? If so, add TODO to the comment and maybe be a little more descriptive of what needs to be done.
can we get 'runPIController' inside deadband control check?
Can we check payload.index is equal to D6_LEVL (instead of above comparision)?
Remove space after 'Supply'.
Align the value declaration indentation.
looks you are already checking this state in a line above.
Declare local variables at top of scope.
Add space between ( and ?
Remove blank line.
Why redeclare result?
Why are you redeclaring result? This assignment will not survive outside of the if statement.
instead of 0, we can use the level Enum 'LVL_STATE_EMPTY'?
lower? and change the D98 level sensor comment as well.
Remove empty line
Space before LVL_STATE_LOW
space inside array index.
Space inside parenthesis.
Change this to LEVEL_T enum.
Is this macro still being used? if not, delete it.
Got a suggestion or an issue? Discuss it on the Atlassian Community or visit Atlassian Support for other options.