Possible division by zero error in NTCSensor
aattww opened this issue · 1 comments
aattww commented
sensors/libraries/NTCSensor/NTCSensor.cpp
Lines 196 to 197 in 9c22916
Having shorted thermistor is handled but having not a thermistor at all results in pulling analog in to VCC and counted as 1023. This in turn will result in division by zero in line 197 in NTCSensor.cpp.