mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-26 01:35:23 +03:00
Added additional unit for ms that stays as ms
This commit is contained in:
parent
617a89e1da
commit
3174f89927
2 changed files with 7 additions and 3 deletions
|
@ -242,6 +242,7 @@ var Settings = (function () {
|
||||||
'cmss' : 'cm/s/s',
|
'cmss' : 'cm/s/s',
|
||||||
// Time
|
// Time
|
||||||
'msec' : 'ms',
|
'msec' : 'ms',
|
||||||
|
'msec-nc' : 'ms', // Milliseconds, but not converted.
|
||||||
'dsec' : 'ds',
|
'dsec' : 'ds',
|
||||||
'sec' : 's',
|
'sec' : 's',
|
||||||
// Angles
|
// Angles
|
||||||
|
@ -309,6 +310,9 @@ var Settings = (function () {
|
||||||
'hftmin' : 50.8,
|
'hftmin' : 50.8,
|
||||||
'fts' : 30.48
|
'fts' : 30.48
|
||||||
},
|
},
|
||||||
|
'msec-nc' : {
|
||||||
|
'msec-nc' : 1
|
||||||
|
},
|
||||||
'msec' : {
|
'msec' : {
|
||||||
'sec' : 1000
|
'sec' : 1000
|
||||||
},
|
},
|
||||||
|
|
|
@ -38,12 +38,12 @@
|
||||||
<div for="launchAccel" class="helpicon cf_tip" data-i18n_title="configurationLaunchAccelHelp"></div>
|
<div for="launchAccel" class="helpicon cf_tip" data-i18n_title="configurationLaunchAccelHelp"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<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" />
|
<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" />
|
||||||
<label for="launchDetectTime"><span data-i18n="configurationLaunchDetectTime"></span></label>
|
<label for="launchDetectTime"><span data-i18n="configurationLaunchDetectTime"></span></label>
|
||||||
<div for="launchDetectTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchDetectTimeHelp"></div>
|
<div for="launchDetectTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchDetectTimeHelp"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<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" />
|
<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" />
|
||||||
<label for="launchMotorDelay"><span data-i18n="configurationLaunchMotorDelay"></span></label>
|
<label for="launchMotorDelay"><span data-i18n="configurationLaunchMotorDelay"></span></label>
|
||||||
<div for="launchMotorDelay" class="helpicon cf_tip" data-i18n_title="configurationLaunchMotorDelayHelp"></div>
|
<div for="launchMotorDelay" class="helpicon cf_tip" data-i18n_title="configurationLaunchMotorDelayHelp"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
<div for="launchMinTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchMinTimeHelp"></div>
|
<div for="launchMinTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchMinTimeHelp"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<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" />
|
<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" />
|
||||||
<label for="launchSpinupTime"><span data-i18n="configurationLaunchSpinupTime"></span></label>
|
<label for="launchSpinupTime"><span data-i18n="configurationLaunchSpinupTime"></span></label>
|
||||||
<div for="launchSpinupTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchSpinupTimeHelp"></div>
|
<div for="launchSpinupTime" class="helpicon cf_tip" data-i18n_title="configurationLaunchSpinupTimeHelp"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue