Fixed some compilation warnings and added a few comments.

This commit is contained in:
EdFuentetaja
2014-05-06 23:57:15 +08:00
parent f8cd8d715f
commit d8181ec79e
8 changed files with 60 additions and 27 deletions

View File

@@ -54,7 +54,7 @@ processFrame (dsd_opts * opts, dsd_state * state)
char nac[13];
int level;
char status_0, status_1;
char status_0;
char bch_code[63];
int index_bch_code;
unsigned char parity;
@@ -69,8 +69,8 @@ processFrame (dsd_opts * opts, dsd_state * state)
if (state->rf_mod == 1)
{
state->maxref = (state->max * 0.80);
state->minref = (state->min * 0.80);
state->maxref = (int)(state->max * 0.80F);
state->minref = (int)(state->min * 0.80F);
}
else
{