Increase drive of gmsk_encode and remove slow data dump

This commit is contained in:
Ed Gonzalez 2015-08-03 08:57:02 -05:00
parent 280051c0ec
commit bea9eea4a8
2 changed files with 3 additions and 3 deletions

View file

@ -720,7 +720,7 @@ BOOL dstar_stateMachine(DSTAR_MACHINE machine, BOOL in_bit, unsigned char * ambe
memcpy(data_bytes + long_data_bytes_idx, bytes, 3);
long_data_bytes_idx += 3;
if ( long_data_bytes_idx >= 3 * 40 * 4 ) {
thumbDV_dump("Long Data: ", data_bytes, 3 * 40 * 4);
//thumbDV_dump("Long Data: ", data_bytes, 3 * 40 * 4);
long_data_bytes_idx = 0;
}

View file

@ -284,9 +284,9 @@ uint32 gmsk_encode(GMSK_MOD mod, BOOL bit, float * buffer, unsigned int length)
for (i = 0; i < DSTAR_RADIO_BIT_LENGTH; i++) {
if (bit) {
buffer[i] = gmsk_FilterProcessSingle(mod->filter, -0.45f);
buffer[i] = gmsk_FilterProcessSingle(mod->filter, -0.75f);
} else {
buffer[i] = gmsk_FilterProcessSingle(mod->filter, 0.45f);
buffer[i] = gmsk_FilterProcessSingle(mod->filter, 0.75f);
}
}