summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-07-21 21:40:22 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-07-21 21:40:22 +0200
commitd235de67b275424e07a288c78acbeb177ba37184 (patch)
tree2738ac6a1f190f141c0f5bffd3dda1143d5272c9
parent7cbe1f69b986f6fc6e113e8d74dcfd7bc5773a74 (diff)
fix typo in voltage logger
-rwxr-xr-xbin/kaxxxxp-viewer2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/kaxxxxp-viewer b/bin/kaxxxxp-viewer
index 9ff5ca5..6b7f51f 100755
--- a/bin/kaxxxxp-viewer
+++ b/bin/kaxxxxp-viewer
@@ -198,7 +198,7 @@ def measure_data(port, filename, duration):
if voltage is not None and current is not None:
print(f"{ts:.3f} {voltage:5.2f} {current:5.3f}", file=output_handle)
elif voltage is not None:
- print(f"{ts:.3f} {volvoltage:5.2f} NaN", file=output_handle)
+ print(f"{ts:.3f} {voltage:5.2f} NaN", file=output_handle)
elif current is not None:
print(f"{ts:.3f} NaN {current:5.3f}", file=output_handle)
else: