feat(control): 添加选手 FPS 键鼠操作与 C3 用户 UART 输出
This commit is contained in:
43 files changed
+2389
-77
No files matched your search
@@ -38,6 +38,9 @@ use std::time::Duration;
|
||||
|
||||
pub use protocol::{id_from_mac, ArmorHealth, MsgType, ARMOR_PORT, BROADCAST_ADDR};
|
||||
pub use protocol::{ArmorControl, ArmorDamageControl, ArmorReset, ARMOR_UNASSIGNED};
|
||||
pub use protocol::OperatorControl;
|
||||
mod operator;
|
||||
pub use operator::{OperatorLink, UartControlFrame, OPERATOR_LEASE_MS, SERIAL_FRAME_LEN};
|
||||
|
||||
pub const CLIENT_LEASE: Duration = Duration::from_secs(2);
|
||||
pub const DAMAGE_LEASE: Duration = Duration::from_secs(1);
|
||||
|
||||
Reference in new issue
Block a user