diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-12-31 15:23:31 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-12-31 15:23:31 +0100 |
commit | c08d47f914da5a0f9b505dee72c4a3a6969d878d (patch) | |
tree | a6b9d05b2ceab4ab1ff8b06baf761c69526e7c48 /src/main.rs | |
parent | ba3778a9d75a177ef51b99c3d641d399ffce4bd2 (diff) | |
download | fl2k_ampliphase-c08d47f914da5a0f9b505dee72c4a3a6969d878d.tar.gz fl2k_ampliphase-c08d47f914da5a0f9b505dee72c4a3a6969d878d.tar.bz2 fl2k_ampliphase-c08d47f914da5a0f9b505dee72c4a3a6969d878d.zip |
Add more fl2k functions, callback still missing
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index a415e9f..c04740f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -331,7 +331,8 @@ fn main() { // Main thread, output to file/device match output { Output::FL2K => { - let fl2k = fl2k::FL2K::open(device_index); + let fl2k = fl2k::FL2K::open(device_index).expect("fl2k open"); + // TODO fl2k.start_tx(|| {}, 0).expect("fl2k start_tx"); } Output::Debug => { let out_file = File::create("debug-out.i8").expect("create file"); |