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