Fixed bug
This commit is contained in:
parent
a150509598
commit
53218b64aa
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def main():
|
|||
value = 0
|
||||
|
||||
# Convert value in readable Volt or Celcius
|
||||
if ( CHANNELL == 0 ):
|
||||
if ( CHANNEL == 0 ):
|
||||
value = convertToVoltage(ad_value)
|
||||
else:
|
||||
value = convertToCelcius(ad_value)
|
||||
|
|
Loading…
Reference in a new issue