1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Add def for AKK/RDQ SmartAudio bug

This commit is contained in:
howels 2022-10-14 18:25:42 +01:00
parent be45d50d82
commit b71d2f3d32

View file

@ -512,6 +512,9 @@ static void saSendFrame(uint8_t *buf, int len)
for (int i = 0 ; i < len ; i++) { for (int i = 0 ; i < len ; i++) {
serialWrite(smartAudioSerialPort, buf[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++; saStat.pktsent++;
} else { } else {