From 1fbaca86b49d22ddf48fdb619636ab2f1e63e0b8 Mon Sep 17 00:00:00 2001 From: E Thomas Date: Sat, 1 Dec 2018 17:31:29 -0500 Subject: [PATCH] Fix 'looping' after vtx_freq in MHz set Added 'saGetSettings()' to saDoDevSetFreq() fn --- src/main/io/vtx_smartaudio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/io/vtx_smartaudio.c b/src/main/io/vtx_smartaudio.c index 07a59e1a5a..718bf0caa4 100644 --- a/src/main/io/vtx_smartaudio.c +++ b/src/main/io/vtx_smartaudio.c @@ -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);