File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 550550 "featureSUPEREXPO_RATES" : {
551551 "message" : " Super Expo Rates"
552552 },
553+ "featureSDCARD" : {
554+ "message" : " SDCard support (for logging)"
555+ },
553556 "featureOSD" : {
554557 "message" : " On Screen Display"
555558 },
Original file line number Diff line number Diff line change @@ -53,10 +53,16 @@ var Features = function (config) {
5353 ) ;
5454 }
5555
56- if ( semver . gte ( config . flightControllerVersion , "2.8.0" ) && ! semver . gte ( config . flightControllerVersion , "3.0.0" ) ) {
57- features . push (
58- { bit : 23 , group : 'pidTuning' , name : 'SUPEREXPO_RATES' }
59- ) ;
56+ if ( semver . gte ( config . flightControllerVersion , "2.8.0" ) ) {
57+ if ( ! semver . gte ( config . flightControllerVersion , "3.0.0" ) ) {
58+ features . push (
59+ { bit : 23 , group : 'pidTuning' , name : 'SUPEREXPO_RATES' }
60+ ) ;
61+ } else {
62+ features . push (
63+ { bit : 23 , group : 'other' , name : 'SDCARD' }
64+ ) ;
65+ }
6066 }
6167
6268 if ( semver . gte ( config . flightControllerVersion , "3.0.0" ) ) {
You can’t perform that action at this time.
0 commit comments