Fix 'looping' after vtx_freq in MHz set
Added 'saGetSettings()' to saDoDevSetFreq() fn
This commit is contained in:
parent
3736a2486d
commit
1fbaca86b4
|
@ -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…
Reference in New Issue