Skip to content

Commit

Permalink
fix: removin unused macro
Browse files Browse the repository at this point in the history
lucasbrendel committed Dec 21, 2023
1 parent e53c053 commit 9f59b18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/macros.rs
Original file line number Diff line number Diff line change
@@ -41,8 +41,8 @@ macro_rules! get_reg {
};
}

macro_rules! get_field {
($periph:ident, $reg:ident, $field:ident) => {
unsafe { &*$periph::ptr() }.$reg().read().$field()
};
}
// macro_rules! get_field {
// ($periph:ident, $reg:ident, $field:ident) => {
// unsafe { &*$periph::ptr() }.$reg().read().$field()
// };
// }

0 comments on commit 9f59b18

Please sign in to comment.