From b71d2f3d321f3398d59e1f16b4e404396a19959f Mon Sep 17 00:00:00 2001 From: howels <7933842+howels@users.noreply.github.com> Date: Fri, 14 Oct 2022 18:25:42 +0100 Subject: [PATCH] Add def for AKK/RDQ SmartAudio bug --- 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 fe54b453b8..d6b1176163 100644 --- a/src/main/io/vtx_smartaudio.c +++ b/src/main/io/vtx_smartaudio.c @@ -512,6 +512,9 @@ static void saSendFrame(uint8_t *buf, int len) for (int i = 0 ; i < len ; i++) { serialWrite(smartAudioSerialPort, buf[i]); } + #ifdef USE_AKK_SMARTAUDIO + serialWrite(smartAudioSerialPort, 0x00); // AKK/RDQ SmartAudio devices can expect an extra byte due to manufacturing errors. + #endif // USE_AKK_SMARTAUDIO saStat.pktsent++; } else {