fix bug in which real signal component is assigned twice

master
Matt Huszagh 2021-01-12 18:36:18 -08:00
parent 07b7201b49
commit 6aad92af43
1 changed files with 1 additions and 1 deletions

View File

@ -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 =