Only auto-control PSU in continuous mode

Single measurements don't toggle PSU - the device handles it.
PSU auto-control now only happens with --continuous flag.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 14:38:51 +07:00
parent 20c61d5cff
commit cfd589b04b

View File

@@ -823,7 +823,8 @@ def main():
csv_writer.writeheader()
print(f"Saving to: {args.csv}")
use_psu = not args.no_psu and not args.passive
# Only control PSU if explicitly requested or in continuous mode
use_psu = args.continuous and not args.no_psu and not args.passive
try:
if use_psu: