Fixed bug

This commit is contained in:
dbroqua 2021-01-23 18:35:41 +01:00
parent a150509598
commit 53218b64aa

View file

@ -123,7 +123,7 @@ def main():
value = 0 value = 0
# Convert value in readable Volt or Celcius # Convert value in readable Volt or Celcius
if ( CHANNELL == 0 ): if ( CHANNEL == 0 ):
value = convertToVoltage(ad_value) value = convertToVoltage(ad_value)
else: else:
value = convertToCelcius(ad_value) value = convertToCelcius(ad_value)