Closed fraser125 closed 7 years ago
Reduced casting from 4 values to only the 2 on the minimum comparison. Max ADC value of 1023 shouldn't cause any problems on the max compare side.
Cleaning up my PR. Back soon with a 'cleaner' version.
Reduced casting from 4 values to only the 2 on the minimum comparison. Max ADC value of 1023 shouldn't cause any problems on the max compare side.