Fix LO generator
This commit is contained in:
parent
ad2a255900
commit
2fdc334719
1 changed files with 1 additions and 1 deletions
|
|
@ -242,8 +242,8 @@ static void lo_generate_phase(uint32_t *buf, size_t len, uint32_t step, uint32_t
|
||||||
uint32_t bits = 0;
|
uint32_t bits = 0;
|
||||||
|
|
||||||
for (int j = 0; j < 32; j++) {
|
for (int j = 0; j < 32; j++) {
|
||||||
bits |= phase >> 31;
|
|
||||||
bits <<= 1;
|
bits <<= 1;
|
||||||
|
bits |= phase >> 31;
|
||||||
phase += step;
|
phase += step;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue