remove gcc 12.1 warning: output may be truncated writing 21 bytes into a region of size between 15 and 24

This commit is contained in:
Philippe Teuwen 2022-05-12 22:57:22 +02:00
parent c4a8e0fa2e
commit 05e48b07cc

View file

@ -2577,7 +2577,7 @@ char *GetPskCfStr(uint32_t id, bool q5) {
}
char *GetBitRateStr(uint32_t id, bool xmode) {
static char buf[25];
static char buf[35];
char *retStr = buf;
if (xmode) { //xmode bitrate calc is same as em4x05 calc