Skip to content

Commit

Permalink
fix kv throttle scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
JyeSmith committed Oct 30, 2019
1 parent 581d1fb commit 8695f27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dshot-esc-tester.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Binary file modified dshot-esc-tester.ino.esp32.bin
Binary file not shown.

0 comments on commit 8695f27

Please sign in to comment.