diff options
Diffstat (limited to 'main/fskmodem_float.c')
-rw-r--r-- | main/fskmodem_float.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/main/fskmodem_float.c b/main/fskmodem_float.c index f77300979..bc873eac5 100644 --- a/main/fskmodem_float.c +++ b/main/fskmodem_float.c @@ -225,9 +225,7 @@ int fsk_serial(fsk_data *fskd, short *buffer, int *len, int *outbyte) int i,j,n1,r; int samples = 0; int olen; - int beginlen=*len; - int beginlenx; - + switch (fskd->state) { /* Pick up where we left off */ case STATE_SEARCH_STARTBIT2: @@ -255,7 +253,6 @@ int fsk_serial(fsk_data *fskd, short *buffer, int *len, int *outbyte) beginning of a start bit in the TDD sceanario. It just looks for sufficient level to maybe, perhaps, guess, maybe that its maybe the beginning of a start bit, perhaps. This whole thing stinks! */ - beginlenx=beginlen; /* just to avoid unused war warnings */ if (demodulator(fskd, &fskd->x1, GET_SAMPLE)) return -1; samples++; |