mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Fix 'looping' after vtx_freq in MHz set
Added 'saGetSettings()' to saDoDevSetFreq() fn
This commit is contained in:
parent
3736a2486d
commit
1fbaca86b4
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue