Default buffer was _way_ too small.

This commit is contained in:
David E. Tiller 2022-04-02 17:55:59 -04:00
parent 7d58e40bdb
commit 2cf23db340
1 changed files with 4 additions and 4 deletions

View File

@ -344,10 +344,10 @@ void multi_modem_process_rec_frame (int chan, int subchan, int slice, unsigned c
// alevel gets in there somehow making me question why it is passed thru here.
}
else if (save_audio_config_p->achan[chan].modem_type == MODEM_EOTD) {
char nmea[300];
eotd_to_text (fbuf, flen, nmea, sizeof(nmea));
char monfmt[276];
snprintf (monfmt, sizeof(monfmt), "EOTD>%s%1d%1d:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_EOTD, nmea);
char text[1024];
eotd_to_text (fbuf, flen, text, sizeof(text));
char monfmt[1024];
snprintf (monfmt, sizeof(monfmt), "EOTD>%s%1d%1d:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_EOTD, text);
pp = ax25_from_text (monfmt, 1);
}
else {