File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ TABS.pid_tuning.initialize = function (callback) {
5959 }
6060
6161 if ( semver . gte ( CONFIG . flightControllerVersion , "2.8.1" ) ) {
62- $ ( 'input[name="# vbatpidcompensation"]' ) . prop ( 'checked' , ADVANCED_TUNING . vbatPidCompensation !== 0 ) ;
62+ $ ( 'input[id=" vbatpidcompensation"]' ) . prop ( 'checked' , ADVANCED_TUNING . vbatPidCompensation !== 0 ) ;
6363 }
6464
6565 if ( semver . gte ( CONFIG . flightControllerVersion , "2.8.2" ) ) {
@@ -266,7 +266,7 @@ TABS.pid_tuning.initialize = function (callback) {
266266 }
267267
268268 if ( semver . gte ( CONFIG . flightControllerVersion , "2.8.1" ) ) {
269- ADVANCED_TUNING . vbatPidCompensation = $ ( 'input[name="# vbatpidcompensation"]' ) . is ( ':checked' ) ? 1 : 0 ;
269+ ADVANCED_TUNING . vbatPidCompensation = $ ( 'input[id=" vbatpidcompensation"]' ) . is ( ':checked' ) ? 1 : 0 ;
270270 }
271271
272272 if ( semver . gte ( CONFIG . flightControllerVersion , "2.8.2" ) ) {
You can’t perform that action at this time.
0 commit comments