Skip to content

Commit 65a1b99

Browse files
authored
Remove PID scaling to show true values
1 parent 085d76f commit 65a1b99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/header_dialog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function HeaderDialog(dialog, onSave) {
159159
switch (i) {
160160
case 0:
161161
if(data[i]!=null) {
162-
$(this).val((data[i]/10.0).toFixed(1));
162+
$(this).val((data[i]).toFixed(0));
163163
$(this).attr('decPl', 1);
164164
$(this).removeClass('missing');
165165
} else {
@@ -169,7 +169,7 @@ function HeaderDialog(dialog, onSave) {
169169
break;
170170
case 1:
171171
if(data[i]!=null) {
172-
$(this).val((data[i]/1000.0).toFixed(3));
172+
$(this).val((data[i]).toFixed(0));
173173
$(this).attr('decPl', 3);
174174
$(this).removeClass('missing');
175175
} else {

0 commit comments

Comments
 (0)