Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/audio_sensors
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/audio_sensors')
-rw-r--r--plugins/audio_sensors/audio_sensors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/audio_sensors/audio_sensors.py b/plugins/audio_sensors/audio_sensors.py
index 0662acb..355fe98 100644
--- a/plugins/audio_sensors/audio_sensors.py
+++ b/plugins/audio_sensors/audio_sensors.py
@@ -355,12 +355,12 @@ class Audio_sensors(Plugin):
resistance = 420000000
elif self.hw == XO175:
if avg_buf < 30700:
- return (180000000 / (30700 - avg_buf)) - 3150
+ resistance = (180000000 / (30700 - avg_buf)) - 3150
else:
resistance = 999999999
else: # XO 3.0
if avg_buf < 30514:
- return (46000000 / (30514 - avg_buf)) - 1150
+ resistance = (46000000 / (30514 - avg_buf)) - 1150
else:
resistance = 999999999
if channel == 0: