Fix issue with enabled split-pxy feature

The fixed error message is:
error[E0425]: cannot find value `pin_name` in this scope
This commit is contained in:
mahu-wm 2025-01-20 10:55:21 +01:00 committed by GitHub
parent c65b6db318
commit 42817c4259
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1534,7 +1534,7 @@ fn main() {
// This should avoid unintended side-effects as much as possible.
#[cfg(feature = "_split-pins-enabled")]
for split_feature in &split_features {
if split_feature.pin_name_without_c == pin_name {
if split_feature.pin_name_without_c == pin.name {
pins_table.push(vec![
split_feature.pin_name_with_c.to_string(),
p.name.to_string(),