mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 20:10:11 +03:00
mixer_profile switch support
This commit is contained in:
parent
0bb8c1521b
commit
51c33d2bd9
9 changed files with 60 additions and 5 deletions
10
main.js
10
main.js
|
@ -545,6 +545,16 @@ $(document).ready(function () {
|
|||
|
||||
});
|
||||
|
||||
var mixerprofile_e = $('#mixerprofilechange');
|
||||
|
||||
mixerprofile_e.change(function () {
|
||||
var mixerprofile = parseInt($(this).val());
|
||||
MSP.send_message(MSPCodes.MSP2_INAV_SELECT_MIXER_PROFILE, [mixerprofile], false, function () {
|
||||
GUI.log(chrome.i18n.getMessage('loadedMixerProfile', [mixerprofile + 1]));
|
||||
updateActivatedTab();
|
||||
});
|
||||
});
|
||||
|
||||
var profile_e = $('#profilechange');
|
||||
|
||||
profile_e.change(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue