fix bug missing self for a few vars. nice find chip!

pull/126/head
jbruce12000 2022-12-18 18:23:48 -05:00
rodzic dba6cde65d
commit 90d10eb125
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -290,7 +290,7 @@ class Max31856(TempSensorReal):
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: