mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Add def for AKK/RDQ SmartAudio bug
This commit is contained in:
parent
be45d50d82
commit
b71d2f3d32
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue