From fb91b1ccb2b51b05b3d103ee81d007bba675ab44 Mon Sep 17 00:00:00 2001 From: Eggert Jung Date: Sat, 23 Mar 2024 17:49:02 +0100 Subject: [PATCH] add n and k --- peaktech.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/peaktech.py b/peaktech.py index b5698e0..f3f30e7 100644 --- a/peaktech.py +++ b/peaktech.py @@ -31,6 +31,10 @@ def crap_to_number(num, unit, acdc): if (unit[0] & 0x1): number_str+="ยต" + if (unit[0] & 0x2): + number_str+="n" + if (unit[0] & 0x4): + number_str+="k" if (unit[1] & 0x1): number_str+="m" if (unit[1] & 0x2):