fix(rmc): fix sending back errors crashing
This commit is contained in:
parent
d900dc3534
commit
28004f7b4d
2 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ use crate::endianness::{IS_BIG_ENDIAN, ReadExtensions};
|
|||
use crate::rmc::response::ErrorCode;
|
||||
use crate::rmc::structures::{RmcSerialize, Result};
|
||||
|
||||
const ERROR_MASK: u32 = 1 << 31;
|
||||
pub const ERROR_MASK: u32 = 1 << 31;
|
||||
|
||||
#[derive(Pod, Zeroable, Copy, Clone, SwapEndian)]
|
||||
#[repr(transparent)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue