Fix LO generator
This commit is contained in:
parent
1fe4633601
commit
68c65fdb54
1 changed files with 1 additions and 1 deletions
|
|
@ -292,8 +292,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