I am trying to reuse the resources struct with a new hardware iteration that has some pin changes. However, I would like to keep the old config around and switch between the assignments with a feature.
Unfortunately, I am not make the macro repeat the feature attribute again before the type alias and I keep getting "the name ResetPin is defined multiple times" errors. Any ideas how this could be fixed?
I am trying to reuse the resources struct with a new hardware iteration that has some pin changes. However, I would like to keep the old config around and switch between the assignments with a feature.
Unfortunately, I am not make the macro repeat the feature attribute again before the type alias and I keep getting "the name
ResetPin
is defined multiple times" errors. Any ideas how this could be fixed?