diff --git a/dshot-esc-tester.ino b/dshot-esc-tester.ino index 4f15e4e..fcb6eef 100644 --- a/dshot-esc-tester.ino +++ b/dshot-esc-tester.ino @@ -375,7 +375,7 @@ void receiveTelemtrie(){ } if (rpm) { // Stops weird numbers :| - kv = rpm / voltage; + kv = rpm / voltage / ( (float(dshotUserInputValue) - dshotmin) / (dshotmax - dshotmin) ); } else { kv = 0; } diff --git a/dshot-esc-tester.ino.esp32.bin b/dshot-esc-tester.ino.esp32.bin index a76832c..4ff7d2b 100644 Binary files a/dshot-esc-tester.ino.esp32.bin and b/dshot-esc-tester.ino.esp32.bin differ