aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-12-19 20:19:01 +0000
committerdiogo464 <[email protected]>2025-12-19 20:19:01 +0000
commit46f0516caffe0e63ff734f3e93e98c073ad8064e (patch)
tree6ff913015092153891af390352378ace2a440f43 /embassy-rp
parent235ed74ea44c9ed9764ec5633302ea399cb633e9 (diff)
removed unused variablesfix-input-sync-bypass
Diffstat (limited to 'embassy-rp')
-rw-r--r--embassy-rp/src/pio/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-rp/src/pio/mod.rs b/embassy-rp/src/pio/mod.rs
index 4d20dfd81..780867943 100644
--- a/embassy-rp/src/pio/mod.rs
+++ b/embassy-rp/src/pio/mod.rs
@@ -295,8 +295,8 @@ impl<'l, PIO: Instance> Pin<'l, PIO> {
295 /// Set the pin's input sync bypass. 295 /// Set the pin's input sync bypass.
296 pub fn set_input_sync_bypass(&mut self, bypass: bool) { 296 pub fn set_input_sync_bypass(&mut self, bypass: bool) {
297 let offset = match self.pin() { 297 let offset = match self.pin() {
298 pin @ 0..32 => 0, 298 0..32 => 0,
299 pin @ _ => 16, 299 _ => 16,
300 }; 300 };
301 let mask = 1 << self.pin() - offset; 301 let mask = 1 << self.pin() - offset;
302 302