From 90d10eb125a4ab0b3862616e10b278f0765d5f57 Mon Sep 17 00:00:00 2001 From: jbruce12000 Date: Sun, 18 Dec 2022 18:23:48 -0500 Subject: [PATCH] fix bug missing self for a few vars. nice find chip! --- lib/oven.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oven.py b/lib/oven.py index 57efb7d..2969227 100644 --- a/lib/oven.py +++ b/lib/oven.py @@ -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: