1
0
Fork 0

upconn fw: add big endian doc

This commit is contained in:
morgan 2024-09-06 15:32:05 +08:00
parent fa674e32f5
commit 7dbeefd0a4
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ pub enum Packet {
impl Packet {
pub fn write_to<W>(&self, writer: &mut W) -> Result<(), Error>
where W: Write {
// CoaXpress use big endian
match self {
Packet::ControlU32Reg(cmd) => match cmd {
Command::Read { addr } => {