Skip to content

Commit 42817c4

Browse files
authored
Fix issue with enabled split-pxy feature
The fixed error message is: error[E0425]: cannot find value `pin_name` in this scope
1 parent c65b6db commit 42817c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embassy-stm32/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ fn main() {
15341534
// This should avoid unintended side-effects as much as possible.
15351535
#[cfg(feature = "_split-pins-enabled")]
15361536
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 {
15381538
pins_table.push(vec![
15391539
split_feature.pin_name_with_c.to_string(),
15401540
p.name.to_string(),

0 commit comments

Comments
 (0)