File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -2014,6 +2014,10 @@ <h5 class="modal-title-revision"></h5>
20142014 < label > D-Shot Offset %</ label >
20152015 < input type ="text " step ="0.01 " min ="0 " max ="1 " />
20162016 </ td >
2017+ < td name ="motor_idle ">
2018+ < label > Motor idle %</ label >
2019+ < input type ="text " step ="0.01 " min ="0 " max ="1 " />
2020+ </ td >
20172021 < td name ="motorOutputLow ">
20182022 < label > D-Shot Motor Low</ label >
20192023 < input type ="text " step ="10 " min ="0 " max ="2047 " />
Original file line number Diff line number Diff line change @@ -817,6 +817,7 @@ export function FlightLogParser(logData) {
817817 }
818818 break ;
819819
820+ case "motor_idle" :
820821 case "digitalIdleOffset" :
821822 that . sysConfig [ fieldName ] = parseInt ( fieldValue , 10 ) / 100.0 ;
822823
Original file line number Diff line number Diff line change @@ -323,6 +323,12 @@ export function HeaderDialog(dialog, onSave) {
323323 name : "digitalIdleOffset" ,
324324 type : FIRMWARE_TYPE_BETAFLIGHT ,
325325 min : "3.1.0" ,
326+ max : "4.5.1" ,
327+ } ,
328+ {
329+ name : "motor_idle" ,
330+ type : FIRMWARE_TYPE_BETAFLIGHT ,
331+ min : "4.6.0" ,
326332 max : "999.9.9" ,
327333 } ,
328334 {
@@ -665,7 +671,7 @@ export function HeaderDialog(dialog, onSave) {
665671 name : "dyn_idle_start_increase" ,
666672 type : FIRMWARE_TYPE_BETAFLIGHT ,
667673 min : "4.5.0" ,
668- max : "999.9.9 " ,
674+ max : "4.5.1 " ,
669675 } ,
670676 {
671677 name : "dyn_idle_max_increase" ,
@@ -1783,6 +1789,7 @@ export function HeaderDialog(dialog, onSave) {
17831789 renderSelect ( "debug_mode" , sysConfig . debug_mode , DEBUG_MODE ) ;
17841790 setParameter ( "motorOutputLow" , sysConfig . motorOutput [ 0 ] , 0 ) ;
17851791 setParameter ( "motorOutputHigh" , sysConfig . motorOutput [ 1 ] , 0 ) ;
1792+ setParameter ( "motor_idle" , sysConfig . motor_idle , 2 ) ;
17861793 setParameter ( "digitalIdleOffset" , sysConfig . digitalIdleOffset , 2 ) ;
17871794 renderSelect (
17881795 "antiGravityMode" ,
You can’t perform that action at this time.
0 commit comments