Skip to content

Commit

Permalink
dynamic notch Q and max fix - thanks Asizon
Browse files Browse the repository at this point in the history
  • Loading branch information
ctzsnooze committed Jun 22, 2021
1 parent 9ea32f9 commit da00dfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ <h5 class="modal-title-craft"></h5>
</td>
<td name="dynNotchQ">
<label>Q factor</label>
<input type="number" step="1" min="0" max="255" />
<input type="number" step="1" min="0" max="999.00" />
</td>
<td name="dynNotchMinHz">
<label>Min (Hz)</label>
Expand Down
3 changes: 1 addition & 2 deletions js/header_dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ function HeaderDialog(dialog, onSave) {
{name:'rc_smoothing_active_cutoffs_ff', type:FIRMWARE_TYPE_BETAFLIGHT, min:'4.3.0', max:'999.9.9'},
{name:'rc_smoothing_active_cutoffs_sp', type:FIRMWARE_TYPE_BETAFLIGHT, min:'4.3.0', max:'999.9.9'},
{name:'rc_smoothing_active_cutoffs_thr', type:FIRMWARE_TYPE_BETAFLIGHT, min:'4.3.0', max:'999.9.9'},
{name:'dyn_notch_count' , type:FIRMWARE_TYPE_BETAFLIGHT, min:'4.3.0', max:'999.9.9'},
{name:'dyn_notch_bandwidth_hz' , type:FIRMWARE_TYPE_BETAFLIGHT, min:'4.3.0', max:'999.9.9'},
{name:'dyn_notch_count' , type:FIRMWARE_TYPE_BETAFLIGHT, min:'4.3.0', max:'999.9.9'},
];

function isParameterValid(name) {
Expand Down

0 comments on commit da00dfa

Please sign in to comment.