mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-26 01:35:23 +03:00
Add SERIALSHOT ESC protocol
This commit is contained in:
parent
be312e8150
commit
8b9ed31448
3 changed files with 12 additions and 1 deletions
|
@ -2956,6 +2956,9 @@
|
|||
"escProtocolNotAdvised": {
|
||||
"message": "This ESC protocol is not advised, use it at your own risk"
|
||||
},
|
||||
"escProtocolExperimental": {
|
||||
"message": "Experimental ESC protocol, use at your own risk"
|
||||
},
|
||||
"looptimeNotAdvised": {
|
||||
"message": "PID loop might be not stable if GPS is in use"
|
||||
},
|
||||
|
|
8
js/fc.js
8
js/fc.js
|
@ -921,6 +921,14 @@ var FC = {
|
|||
rates: {
|
||||
16000: "16kHz"
|
||||
}
|
||||
},
|
||||
9: {
|
||||
name: "SERIALSHOT",
|
||||
message: "escProtocolExperimental",
|
||||
defaultRate: 4000,
|
||||
rates: {
|
||||
4000: "4kHz"
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
|
@ -459,7 +459,7 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
}
|
||||
|
||||
if (ADVANCED_CONFIG.motorPwmProtocol >= 5) {
|
||||
//DSHOT protocols, simplify UI
|
||||
//DSHOT/SERIALSHOT protocols, simplify UI
|
||||
$('.hide-for-shot').addClass('is-hidden');
|
||||
} else {
|
||||
$('.hide-for-shot').removeClass('is-hidden');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue