mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-04-20 13:43:47 +00:00
CID12151 - Fix passing byte as array
This commit is contained in:
parent
eda34ee255
commit
a2e5110085
1 changed files with 2 additions and 2 deletions
|
|
@ -422,9 +422,9 @@ void gmsk_testBitsAndEncodeDecode(void)
|
|||
GMSK_DEMOD _gmsk_demod = gmsk_createDemodulator();
|
||||
GMSK_MOD _gmsk_mod = gmsk_createModulator();
|
||||
|
||||
unsigned char pattern = 0xAA;
|
||||
unsigned char pattern[1] = {0xAA};
|
||||
BOOL pattern_bits[8] = {0};
|
||||
gmsk_bytesToBits(&pattern, pattern_bits, 8);
|
||||
gmsk_bytesToBits(pattern, pattern_bits, 8);
|
||||
|
||||
BIT_PM _bit_pm = bitPM_create(pattern_bits, 8);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue