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

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

View file

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