mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-03-18 18:04:40 +01:00
Increase drive of gmsk_encode and remove slow data dump
This commit is contained in:
parent
280051c0ec
commit
bea9eea4a8
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue