mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Merge pull request #7157 from ethomas997/vtxSetGetFreqFix
Fix SmartAudio 'looping' after vtx_freq in MHz set
This commit is contained in:
commit
3100264e86
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue