aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-10-29 12:22:00 -0400
committerBrian Cully <bjc@kublai.com>2022-10-29 12:22:00 -0400
commit06fa7f990885ec17220df66094cbe6663719a4da (patch)
tree122c0bb91686b0c70c7e14a3d8fc9e74e1bf45cf /src/main.rs
parenta9808211aeb98545d431a18e4a2fa8e3b2bd8218 (diff)
downloadluchie-06fa7f990885ec17220df66094cbe6663719a4da.tar.gz
luchie-06fa7f990885ec17220df66094cbe6663719a4da.zip
cirque: remove ref to stm32 clock struct
i don't want this driver to be hardware dependent.
Diffstat (limited to 'src/main.rs')
-rwxr-xr-xsrc/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8c2bac1..fdeb257 100755
--- a/src/main.rs
+++ b/src/main.rs
@@ -89,7 +89,7 @@ fn main() -> ! {
1_000_000.Hz(), // pinnacle supports up to 13mhz
clocks,
);
- let mut cirque = match Cirque::new(cs_pin, &mut spi, clocks) {
+ let mut cirque = match Cirque::new(cs_pin, &mut spi, clocks.sysclk().raw()) {
Ok(c) => c,
Err(e) => {
logln!("err: {:?}", e);