Fixing semantics
This commit is contained in:
parent
677d017c3c
commit
f4a4357396
|
@ -645,8 +645,7 @@ const APP: () = {
|
||||||
hrtimer
|
hrtimer
|
||||||
};
|
};
|
||||||
|
|
||||||
let (mut qspi, config) = ad9959.freeze();
|
let (qspi, config) = ad9959.freeze();
|
||||||
qspi.start_stream().unwrap();
|
|
||||||
DdsOutput::new(qspi, io_update_trigger, config)
|
DdsOutput::new(qspi, io_update_trigger, config)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -28,10 +28,10 @@ impl DdsOutput {
|
||||||
io_update_trigger: HighResTimerE,
|
io_update_trigger: HighResTimerE,
|
||||||
dds_config: DdsConfig,
|
dds_config: DdsConfig,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
qspi.start_stream();
|
qspi.start_stream().unwrap();
|
||||||
Self {
|
Self {
|
||||||
config: dds_config,
|
config: dds_config,
|
||||||
_qspi,
|
_qspi: qspi,
|
||||||
io_update_trigger,
|
io_update_trigger,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue