Closed g0uus closed 6 years ago
See the discussion here https://github.com/mathertel/DmxSerial2/issues/18#issuecomment-430237661
In this case you probably want to add a comment saying what the old test was and maybe why it's been removed.
Good suggestion. I added a comment. This change has no effect on code size - I assume the compiler removed it already during optimization. https://github.com/mathertel/DmxSerial2/commit/150d485fea5b186fe0def02bdace468f80f5b742
Thanks.
If the Arduino Compiler Warnings option is set to YES, the following warning is generated -
This occurs because channel is declared as unsigned int.
The fix is simply to change the statement to