diff --git a/host/python/codegen/analogvariables.py b/host/python/codegen/analogvariables.py
index f2071025747cb7115764d01d835450d28d854baf..7f71dedfddf8c96e84e034c9a578e47fc464efbd 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):