1
0
Fork 0
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:
Konstantin Sharlaimov (DigitalEntity) 2019-05-11 21:44:04 +02:00
parent be312e8150
commit 8b9ed31448
3 changed files with 12 additions and 1 deletions

View file

@ -2956,6 +2956,9 @@
"escProtocolNotAdvised": { "escProtocolNotAdvised": {
"message": "This ESC protocol is not advised, use it at your own risk" "message": "This ESC protocol is not advised, use it at your own risk"
}, },
"escProtocolExperimental": {
"message": "Experimental ESC protocol, use at your own risk"
},
"looptimeNotAdvised": { "looptimeNotAdvised": {
"message": "PID loop might be not stable if GPS is in use" "message": "PID loop might be not stable if GPS is in use"
}, },

View file

@ -921,6 +921,14 @@ var FC = {
rates: { rates: {
16000: "16kHz" 16000: "16kHz"
} }
},
9: {
name: "SERIALSHOT",
message: "escProtocolExperimental",
defaultRate: 4000,
rates: {
4000: "4kHz"
}
} }
}; };
}, },

View file

@ -459,7 +459,7 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
} }
if (ADVANCED_CONFIG.motorPwmProtocol >= 5) { if (ADVANCED_CONFIG.motorPwmProtocol >= 5) {
//DSHOT protocols, simplify UI //DSHOT/SERIALSHOT protocols, simplify UI
$('.hide-for-shot').addClass('is-hidden'); $('.hide-for-shot').addClass('is-hidden');
} else { } else {
$('.hide-for-shot').removeClass('is-hidden'); $('.hide-for-shot').removeClass('is-hidden');