Skip to content

Commit

Permalink
fix bug missing self for a few vars. nice find chip!
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruce12000 committed Dec 18, 2022
1 parent dba6cde commit 90d10eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oven.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def __init__(self):
log.info("thermocouple MAX31856")
import adafruit_max31856
adafruit_max31856.ThermocoupleType(config.thermocouple_type)
self.thermocouple = adafruit_max31856.MAX31856(spi, cs)
self.thermocouple = adafruit_max31856.MAX31856(self.spi,self.cs)
if (config.ac_freq_50hz == True):
self.thermocouple.noise_rejection(50)
else:
Expand Down

0 comments on commit 90d10eb

Please sign in to comment.