From a832d117a4d30e4ed9b8d3eed62c939aabf17a6f Mon Sep 17 00:00:00 2001 From: hishizuka <12926652+hishizuka@users.noreply.github.com> Date: Sun, 14 Jan 2024 08:14:40 +0900 Subject: [PATCH] distinguish between integrated and I2C temperature --- modules/gui_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui_config.py b/modules/gui_config.py index cc8032dc..a188cff8 100644 --- a/modules/gui_config.py +++ b/modules/gui_config.py @@ -44,6 +44,7 @@ class GUI_Config: "self.sensor.values['integrated']['grade_spd']", ), "GlideRatio": ("{:.0f}m", "self.sensor.values['integrated']['glide_ratio']"), + "Temp": ("{:3.0f}C", "self.sensor.values['integrated']['temperature']"), # average_values "Power(3s)": ( G_UNIT["Power"], @@ -178,7 +179,7 @@ class GUI_Config: "HR2": (G_UNIT["HeartRate"], "None"), "HR3": (G_UNIT["HeartRate"], "None"), # Sensor raw - "Temp": ("{:3.0f}C", "self.sensor.values['integrated']['temperature']"), + "Temp(I2C)": ("{:3.0f}C", "self.sensor.values['I2C']['temperature']"), "Pressure": ("{:4.0f}hPa", "self.sensor.values['I2C']['pressure']"), "Altitude": (G_UNIT["Altitude"], "self.sensor.values['I2C']['altitude']"), "Humidity": ("{:3.0f}%", "self.sensor.values['I2C']['humidity']"),