fix(pl18): Audio playback glitch when SPI flash writing (#4476)

This commit is contained in:
richardclli
2024-01-01 07:56:11 +10:00
committed by GitHub
parent 44f73a68d4
commit 6dc6ed5638
+2
View File
@@ -83,6 +83,8 @@ constexpr uint8_t AUDIO_FILENAME_MAXLEN = (AUDIO_LUA_FILENAME_MAXLEN > AUDIO_MOD
#define AUDIO_BUFFER_COUNT (10) // simulator needs more buffers for smooth audio
#elif defined(PCBX12S)
#define AUDIO_BUFFER_COUNT (2) // smaller than Taranis since there is also a buffer on the ADC chip
#elif defined(PCBPL18)
#define AUDIO_BUFFER_COUNT (10) // PL18 need more buffer for smooth audio
#else
#define AUDIO_BUFFER_COUNT (3)
#endif