Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsohn committed Dec 6, 2023
1 parent dfbeec5 commit 22dcf11
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ring/trb/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ macro_rules! impl_idt {
() => {
rw_bit!(pub, self, self.0.0[3]; 6, immediate_data, "Immediate Data");
};
}
macro_rules! implprv_idt {
() => {
(prv) => {
rw1s_bit!(pub(self), self, self.0.0[3]; 6, immediate_data, "Immediate Data");
};
}
Expand Down Expand Up @@ -158,7 +156,7 @@ impl SetupStage {
impl_interrupter_target!();

impl_ioc!();
implprv_idt!();
impl_idt!(prv);

/// Sets the value of the Transfer Type field.
pub fn set_transfer_type(&mut self, t: TransferType) -> &mut Self {
Expand Down

0 comments on commit 22dcf11

Please sign in to comment.