fix bug in which real signal component is assigned twice
This commit is contained in:
parent
07b7201b49
commit
6aad92af43
|
@ -1092,7 +1092,7 @@ const APP: () = {
|
|||
// shift cos/sin before multiplying to avoid i64 multiplication
|
||||
signal.0 =
|
||||
adc_samples[0][i] as i16 as i32 * shift_round(cos, 16);
|
||||
signal.0 =
|
||||
signal.1 =
|
||||
adc_samples[0][i] as i16 as i32 * shift_round(sin, 16);
|
||||
|
||||
signal.0 =
|
||||
|
|
Loading…
Reference in New Issue