From 70128cd444ea7a2c7528e5430c27b55946718844 Mon Sep 17 00:00:00 2001
From: "Carlo A. Nicolau" <cnicolau@km3net.de>
Date: Wed, 24 Jan 2024 19:09:12 +0100
Subject: [PATCH] (typo in code correction)

---
 host/python/codegen/analogvariables.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/host/python/codegen/analogvariables.py b/host/python/codegen/analogvariables.py
index f207102..7f71ded 100644
--- a/host/python/codegen/analogvariables.py
+++ b/host/python/codegen/analogvariables.py
@@ -60,7 +60,7 @@ def convert_chn2meas_TEMP2(_chn):
     # temperature = 23.24 * voltage - 25.79
     a = 23.24
     b = -25.79
-    v = chennale2voltage_ADC(_chn)
+    v = channel2voltage_ADC(_chn)
     return linear_regression(0.0, b, 1.0, a + b, v)
 
 def convert_chn2meas_TEMP1(_chn):
-- 
GitLab