Skip to content

Commit 3174f89

Browse files
committed
Added additional unit for ms that stays as ms
1 parent 617a89e commit 3174f89

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

js/settings.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ var Settings = (function () {
242242
'cmss' : 'cm/s/s',
243243
// Time
244244
'msec' : 'ms',
245+
'msec-nc' : 'ms', // Milliseconds, but not converted.
245246
'dsec' : 'ds',
246247
'sec' : 's',
247248
// Angles
@@ -309,6 +310,9 @@ var Settings = (function () {
309310
'hftmin' : 50.8,
310311
'fts' : 30.48
311312
},
313+
'msec-nc' : {
314+
'msec-nc' : 1
315+
},
312316
'msec' : {
313317
'sec' : 1000
314318
},

tabs/advanced_tuning.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
<div for="launchAccel" class="helpicon cf_tip" data-i18n_title="configurationLaunchAccelHelp"></div>
3939
</div>
4040
<div class="number">
41-
<input type="number" id="launchDetectTime" data-unit="msec" data-setting="nav_fw_launch_detect_time" data-setting-multiplier="1" step="1" min="10" max="1000" />
41+
<input type="number" id="launchDetectTime" data-unit="msec-nc" data-setting="nav_fw_launch_detect_time" data-setting-multiplier="1" step="1" min="10" max="1000" />
4242
<label for="launchDetectTime"><span data-i18n="configurationLaunchDetectTime"></span></label>
4343
<div for="launchDetectTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchDetectTimeHelp"></div>
4444
</div>
4545
<div class="number">
46-
<input type="number" id="launchMotorDelay" data-unit="msec" data-setting="nav_fw_launch_motor_delay" data-setting-multiplier="1" step="1" min="0" max="5000" />
46+
<input type="number" id="launchMotorDelay" data-unit="msec-nc" data-setting="nav_fw_launch_motor_delay" data-setting-multiplier="1" step="1" min="0" max="5000" />
4747
<label for="launchMotorDelay"><span data-i18n="configurationLaunchMotorDelay"></span></label>
4848
<div for="launchMotorDelay" class="helpicon cf_tip" data-i18n_title="configurationLaunchMotorDelayHelp"></div>
4949
</div>
@@ -53,7 +53,7 @@
5353
<div for="launchMinTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchMinTimeHelp"></div>
5454
</div>
5555
<div class="number">
56-
<input type="number" id="launchSpinupTime" data-unit="msec" data-setting="nav_fw_launch_spinup_time" data-setting-multiplier="1" step="1" min="0" max="1000" />
56+
<input type="number" id="launchSpinupTime" data-unit="msec-nc" data-setting="nav_fw_launch_spinup_time" data-setting-multiplier="1" step="1" min="0" max="1000" />
5757
<label for="launchSpinupTime"><span data-i18n="configurationLaunchSpinupTime"></span></label>
5858
<div for="launchSpinupTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchSpinupTimeHelp"></div>
5959
</div>

0 commit comments

Comments
 (0)