| 19 | |
| 20 | #[derive(Debug)] |
| 21 | pub struct CommandHeader { |
| 22 | pub opcode: u16, |
| 23 | pub len: u8, |
| 24 | } |
| 25 | |
| 26 | pub const fn opcode(ogf: u8, ocf: u16) -> u16 { |
| 27 | ((ogf as u16) << 10) + ocf as u16 |
nothing calls this directly
no outgoing calls
no test coverage detected