Merge pull request #7157 from ethomas997/vtxSetGetFreqFix

Fix SmartAudio 'looping' after vtx_freq in MHz set
This commit is contained in:
Michael Keller 2018-12-06 00:08:00 +13:00 committed by GitHub
commit 3100264e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -585,6 +585,9 @@ static void saDoDevSetFreq(uint16_t freq)
switchBuf[6] = CRC8(switchBuf, 6); switchBuf[6] = CRC8(switchBuf, 6);
saQueueCmd(switchBuf, 7); saQueueCmd(switchBuf, 7);
// need to do a 'get' between the 'set' commands to keep tracking vars in sync
saGetSettings();
} }
saQueueCmd(buf, 7); saQueueCmd(buf, 7);