Skip to content

Commit

Permalink
Fix obscure issue related to function inlining
Browse files Browse the repository at this point in the history
  • Loading branch information
tronje committed Oct 28, 2024
1 parent 8ee24a0 commit d8504ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ where
/// This will read the register (`port_a_reg` for pins 0-7, `port_b_reg` for the other eight),
/// set the bit (as specified by the pin position within the register), and write the register
/// back to the device.
#[inline(never)]
fn update_register_bit(
&mut self,
pin: u8,
Expand Down

0 comments on commit d8504ff

Please sign in to comment.