1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 16:55:24 +03:00

Moved profile selection into PID Tuning tab. Did some visual cleanup.

This commit is contained in:
mikeller 2016-07-26 00:49:59 +12:00
parent d3b3dfc3c6
commit 83fea65e1c
8 changed files with 63 additions and 74 deletions

10
main.js
View file

@ -329,16 +329,6 @@ $(document).ready(function () {
$(this).data('state', state);
});
var profile_e = $('select[name="profilechange"]');
profile_e.change(function () {
var profile = parseInt($(this).val());
MSP.send_message(MSP_codes.MSP_SELECT_SETTING, [profile], false, function () {
GUI.log(chrome.i18n.getMessage('pidTuningLoadedProfile', [profile + 1]));
updateActivatedTab();
});
});
});
function microtime() {