Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PA5 defined twice #129

Open
dave31418 opened this issue Nov 11, 2020 · 1 comment
Open

PA5 defined twice #129

dave31418 opened this issue Nov 11, 2020 · 1 comment

Comments

@dave31418
Copy link

dave31418 commented Nov 11, 2020

I may be reading the code wrong, but it appears in version 1.5.2 in the file Arduino.cpp that PA5 is defined both on line 42 as PIN_TXD2 and then again on line 55 as PIN_POCSAG_LED. I found this just reading the code so I may not be tracing the execution correctly. But on the surface this doesn't appear correct.

@juribeparada
Copy link
Owner

You are right and that double definition is incorrect. This didn't produce a problem, probably due to most of people are using the "make" command in Linux to build the firmware, or they simply use the binary form. IOArduino.cpp is used when you compile with the Arduino IDE + STM32duino. It will be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants