kopia lustrzana https://github.com/Hamlib/Hamlib
Increase debug buf size and add SPLIT to channel dumpcaps
rodzic
ece40e6bc2
commit
44bb600a01
|
@ -77,7 +77,7 @@ int dumpcaps(RIG *rig, FILE *fout)
|
||||||
char freqbuf[20];
|
char freqbuf[20];
|
||||||
int backend_warnings = 0;
|
int backend_warnings = 0;
|
||||||
char warnbuf[4096];
|
char warnbuf[4096];
|
||||||
char prntbuf[2048]; /* a malloc would be better.. */
|
char prntbuf[8192]; /* a malloc would be better.. */
|
||||||
char *label1, *label2, *label3, *label4, *label5;
|
char *label1, *label2, *label3, *label4, *label5;
|
||||||
char *labelrx1; // , *labelrx2, *labelrx3, *labelrx4, *labelrx5;
|
char *labelrx1; // , *labelrx2, *labelrx3, *labelrx4, *labelrx5;
|
||||||
|
|
||||||
|
@ -1154,6 +1154,11 @@ static void dump_chan_caps(const channel_cap_t *chan, FILE *fout)
|
||||||
fprintf(fout, "WIDTH ");
|
fprintf(fout, "WIDTH ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (chan->split)
|
||||||
|
{
|
||||||
|
fprintf(fout, "SPLIT ");
|
||||||
|
}
|
||||||
|
|
||||||
if (chan->tx_freq)
|
if (chan->tx_freq)
|
||||||
{
|
{
|
||||||
fprintf(fout, "TXFREQ ");
|
fprintf(fout, "TXFREQ ");
|
||||||
|
|
|
@ -76,7 +76,7 @@ int dumpstate(RIG *rig, FILE *fout)
|
||||||
char freqbuf[20];
|
char freqbuf[20];
|
||||||
int backend_warnings = 0;
|
int backend_warnings = 0;
|
||||||
char warnbuf[4096];
|
char warnbuf[4096];
|
||||||
char prntbuf[2048]; /* a malloc would be better.. */
|
char prntbuf[4096]; /* a malloc would be better.. */
|
||||||
char *label1, *label2, *label3, *label4, *label5;
|
char *label1, *label2, *label3, *label4, *label5;
|
||||||
char *labelrx1; // , *labelrx2, *labelrx3, *labelrx4, *labelrx5;
|
char *labelrx1; // , *labelrx2, *labelrx3, *labelrx4, *labelrx5;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue