tangled
alpha
login
or
join now
sachy.dev
/
striker
0
fork
atom
Bevy+Ratutui powered Monitoring of Pico-Strike devices
0
fork
atom
overview
issues
pulls
pipelines
threshold as u16
sachy.dev
2 weeks ago
15d1ae0b
cacc7dcc
+3
-3
2 changed files
expand all
collapse all
unified
split
src
device.rs
striker-proto
src
lib.rs
+1
-1
src/device.rs
···
38
38
39
39
#[derive(Debug, Component, Default, Clone, Copy)]
40
40
pub struct DeviceDetector {
41
41
-
pub blip_threshold: usize,
41
41
+
pub blip_threshold: u16,
42
42
pub blip_size: usize,
43
43
pub max_duty: u16,
44
44
pub duty: u16,
+2
-2
striker-proto/src/lib.rs
···
14
14
Ping,
15
15
DetectorInfo,
16
16
SetDetectorConfig {
17
17
-
blip_threshold: Option<usize>,
17
17
+
blip_threshold: Option<u16>,
18
18
blip_size: Option<usize>,
19
19
duty: Option<u16>,
20
20
},
···
30
30
pub enum Response {
31
31
Pong,
32
32
DetectorInfo {
33
33
-
blip_threshold: usize,
33
33
+
blip_threshold: u16,
34
34
blip_size: usize,
35
35
max_duty: u16,
36
36
duty: u16,