aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormahu-wm <[email protected]>2025-01-20 10:55:21 +0100
committerGitHub <[email protected]>2025-01-20 10:55:21 +0100
commit42817c4259a0a636da5215e93c8f16d4e3cab5d3 (patch)
tree888347f8f8d361ba901bea239812ac312513457e
parentc65b6db318da7ecbe888a0a66b85d9ffb28106f0 (diff)
Fix issue with enabled split-pxy feature
The fixed error message is: error[E0425]: cannot find value `pin_name` in this scope
-rw-r--r--embassy-stm32/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs
index 4abbf8d69..78569f7da 100644
--- a/embassy-stm32/build.rs
+++ b/embassy-stm32/build.rs
@@ -1534,7 +1534,7 @@ fn main() {
1534 // This should avoid unintended side-effects as much as possible. 1534 // This should avoid unintended side-effects as much as possible.
1535 #[cfg(feature = "_split-pins-enabled")] 1535 #[cfg(feature = "_split-pins-enabled")]
1536 for split_feature in &split_features { 1536 for split_feature in &split_features {
1537 if split_feature.pin_name_without_c == pin_name { 1537 if split_feature.pin_name_without_c == pin.name {
1538 pins_table.push(vec![ 1538 pins_table.push(vec![
1539 split_feature.pin_name_with_c.to_string(), 1539 split_feature.pin_name_with_c.to_string(),
1540 p.name.to_string(), 1540 p.name.to_string(),