aboutsummaryrefslogtreecommitdiff
path: root/bin/level_calc.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/level_calc.py')
-rwxr-xr-xbin/level_calc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/level_calc.py b/bin/level_calc.py
index e194331..acac332 100755
--- a/bin/level_calc.py
+++ b/bin/level_calc.py
@@ -16,9 +16,9 @@ dyn_pwm = False
def main(args):
"""Calculates PWM levels for visually-linear steps.
"""
- pwm_arg = str(max_pwm)
cli_answers = []
global max_pwm, max_pwms, dyn_pwm
+ pwm_arg = str(max_pwm)
i = 0
while i < len(args):