1
0
Fork 0
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:
shota 2023-10-15 17:26:46 +09:00
parent 0bb8c1521b
commit 51c33d2bd9
9 changed files with 60 additions and 5 deletions

10
main.js
View file

@ -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 () {