MCPcopy Create free account
hub / github.com/FutureSDR/FutureSDR / new

Method new

examples/zigbee/src/decoder.rs:65–75  ·  view source on GitHub ↗
(threshold: u32)

Source from the content-addressed store, hash-verified

63 I: CpuBufferReader<Item = f32>,
64{
65 pub fn new(threshold: u32) -> Self {
66 Self {
67 input: I::default(),
68 correlator: Correlator {
69 threshold,
70 shift_reg: 0,
71 },
72 state: State::Search,
73 chip_count: 0,
74 }
75 }
76}
77
78impl<I> Kernel for Decoder<I>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected