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

Method matching

examples/zigbee/src/decoder.rs:41–45  ·  view source on GitHub ↗
(&self, index: usize)

Source from the content-addressed store, hash-verified

39}
40impl Correlator {
41 fn matching(&self, index: usize) -> bool {
42 let ones =
43 ((self.shift_reg & 0x7FFFFFFE) ^ (CHIP_MAPPING[index] & 0x7FFFFFFE)).count_ones();
44 ones < self.threshold
45 }
46}
47
48#[derive(Block)]

Callers 1

workMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected