Apparently NLINV doesn't need a static prefix and can be 0x00. Add BK3 selector
This commit is contained in:
parent
1dfd82157b
commit
f3eaf0bc91
@ -262,6 +262,7 @@ pub enum Command2Selection {
|
|||||||
Disabled = 0x00,
|
Disabled = 0x00,
|
||||||
BK0 = 0x10,
|
BK0 = 0x10,
|
||||||
BK1 = 0x11,
|
BK1 = 0x11,
|
||||||
|
BK3 = 0x13,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
@ -684,7 +685,7 @@ impl BK0Command2 {
|
|||||||
RTNI: u8,
|
RTNI: u8,
|
||||||
) -> Result<Command, &'static str> {
|
) -> Result<Command, &'static str> {
|
||||||
Self::validate(CMD2, || {
|
Self::validate(CMD2, || {
|
||||||
Command::new(Self::INVSET as u8).args(&[0x30 | NLINV as u8, RTNI])
|
Command::new(Self::INVSET as u8).args(&[NLINV as u8, RTNI])
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user