Fix release build
This commit is contained in:
parent
f8fa859c29
commit
8ea4fc1aef
2 changed files with 9 additions and 1 deletions
|
@ -39,6 +39,7 @@ impl CommandRequest {
|
||||||
body,
|
body,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
name,
|
name,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -148,7 +148,14 @@ impl CommandE1Base {
|
||||||
#[cfg(debug_assertions)] name: &'static str,
|
#[cfg(debug_assertions)] name: &'static str,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self {
|
Self {
|
||||||
command: CommandRequest::new(device_protocol_version, 0xE1, message_type, body, name),
|
command: CommandRequest::new(
|
||||||
|
device_protocol_version,
|
||||||
|
0xE1,
|
||||||
|
message_type,
|
||||||
|
body,
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
|
name,
|
||||||
|
),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue