Fixing semantics

This commit is contained in:
Ryan Summers 2020-12-02 18:08:49 +01:00
parent 677d017c3c
commit f4a4357396
2 changed files with 3 additions and 4 deletions

View File

@ -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)
};

View File

@ -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,
}
}