1200 bauds ?
This commit is contained in:
@ -51,7 +51,7 @@ use eframe::egui::{self, CentralPanel, Color32, RichText};
|
||||
use tokio::sync::RwLock;
|
||||
use tokio::sync::mpsc::{Receiver, Sender, channel};
|
||||
|
||||
const BAUD_RATE: u32 = 1000;
|
||||
const BAUD_RATE: u32 = 1200;
|
||||
const SAMPLE_RATE: u32 = 48000;
|
||||
|
||||
// Modulation parameters
|
||||
@ -150,7 +150,7 @@ impl FSKReceiver {
|
||||
// Frame reconstruction
|
||||
let dphi = self
|
||||
.phase_lowpass
|
||||
.next_real((self.last_sample.conj() * iq).arg());
|
||||
.next_real((self.last_sample * iq.conj()).arg());
|
||||
self.last_sample = iq;
|
||||
if let Some((bit_sample, eye)) = self.elg.next_eye(dphi) {
|
||||
let _ = self.eye_sender.send(eye).await;
|
||||
|
||||
Reference in New Issue
Block a user