Lines of code count not available
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.