Better STAPM time unit.

This commit is contained in:
Quentin Decaunes 2019-03-23 16:49:57 +01:00
parent 195312b9b0
commit 9ce7eeed7e
2 changed files with 4 additions and 4 deletions

View File

@ -27,13 +27,13 @@
<ul class="uk-switcher uk-margin-remove" uk-height-viewport="expand: true" style="position:relative;"> <ul class="uk-switcher uk-margin-remove" uk-height-viewport="expand: true" style="position:relative;">
<li class="uk-margin-top uk-margin-bottom uk-container" id="controller-tab"> <li class="uk-margin-top uk-margin-bottom uk-container" id="controller-tab">
<h3><label><input class="uk-checkbox uk-margin-small-right" type="checkbox" id="apply_stapm_time_ms">STAPM Constant Time (Ms)</label></h3> <h3><label><input class="uk-checkbox uk-margin-small-right" type="checkbox" id="apply_stapm_time_ms">STAPM Constant Time (Sec.)</label></h3>
<div class="uk-grid-small" uk-grid> <div class="uk-grid-small" uk-grid>
<div class="uk-width-1-6"> <div class="uk-width-1-6">
<input class="uk-input " type="number" min="1000" max="5000" value="1000" id="stapm_time_ms" repeat="stapm_time_ms_range"> <input class="uk-input " type="number" min="1" max="3600" value="1" id="stapm_time_ms" repeat="stapm_time_ms_range">
</div> </div>
<div class="uk-width-expand"> <div class="uk-width-expand">
<input class="uk-range" type="range" min="1000" max="5000" value="0" repeat="stapm_time_ms" id="stapm_time_ms_range"> <input class="uk-range" type="range" min="1" max="3600" value="0" repeat="stapm_time_ms" id="stapm_time_ms_range">
</div> </div>
</div> </div>
<h3><label><input class="uk-checkbox uk-margin-small-right" type="checkbox" id="apply_stapm_limit_w">STAPM Limit (W)</label></h3> <h3><label><input class="uk-checkbox uk-margin-small-right" type="checkbox" id="apply_stapm_limit_w">STAPM Limit (W)</label></h3>

View File

@ -42,13 +42,13 @@ function applyRyzenSettings() {
case "--stapm-limit=": case "--stapm-limit=":
case "--fast-limit=": case "--fast-limit=":
case "--slow-limit=": case "--slow-limit=":
case "--stapm-time=":
value = value * 1000; value = value * 1000;
break; break;
case "--tctl-temp=": case "--tctl-temp=":
case "--max-fclk-frequency=": case "--max-fclk-frequency=":
case "--min-fclk-frequency=": case "--min-fclk-frequency=":
case "--stapm-time=":
value = value; value = value;
break; break;