Merge pull request #1176 from smoriarty21/copy_rate_profile

Set rate profile to copy
10.5.x-maintenance
Michael Keller 2018-08-24 00:13:36 +12:00 committed by GitHub
commit 03174af2b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1147,7 +1147,7 @@ TABS.pid_tuning.initialize = function (callback) {
case DIALOG_MODE_RATEPROFILE:
COPY_PROFILE.type = DIALOG_MODE_RATEPROFILE; // 1 = rate profile
COPY_PROFILE.dstProfile = parseInt(selectRateProfile.val());
COPY_PROFILE.srcProfile = CONFIG.profile;
COPY_PROFILE.srcProfile = CONFIG.rateProfile;
MSP.send_message(MSPCodes.MSP_COPY_PROFILE, mspHelper.crunch(MSPCodes.MSP_COPY_PROFILE), false, close_dialog);