Skip to content

Commit

Permalink
Adding max31850 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ArakniD committed Aug 7, 2018
1 parent 0182a4d commit 28655e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/oven.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
log = logging.getLogger(__name__)

try:
if config.max31855 + config.max6675 + config.max31855spi > 1:
if config.max31855 + config.max6675 + config.max31855spi + config.max31850 > 1:
log.error("choose (only) one converter IC")
exit()
if config.max31850:
from max31850 import MAX31850
log.info("import MAX31850")
if config.max31855:
from max31855 import MAX31855, MAX31855Error
log.info("import MAX31855")
Expand Down

0 comments on commit 28655e5

Please sign in to comment.