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

#define DEBUG_DISABLED doesn't work with decimal to HEX conversion #15

Open
SMasanneck opened this issue May 18, 2020 · 0 comments
Open

Comments

@SMasanneck
Copy link

Describe the bug
A clear and concise description of what the bug is.
My code can compile with dec to hex in array "printI(data[t], HEX)" BUT when using #define DEBUG_DISABLED to remove the library. A compilation error happens.

);/

To Reproduce
Steps to reproduce the behavior:
1.
2.
3.

Expected behavior
A clear and concise description of what you expected to happen.
No compilation error

Screenshots
If applicable, add screenshots to help explain your problem.
Error: "cibicomv9:441:24: error: macro "printI" passed 2 arguments, but takes just 1
printI(data[t], HEX);//The SerialDebug libary doesn't have the decimal to hex conversion when debug disabled"

Arduino Information:

  • OS: [e.g. Windows, MacOSX, Linux]
    Windows
  • IDE [e.g. Arduino IDE, Eclipse, VSCode]
    Arduino 1.8.12
  • IDE Version [e.g. 1.8.6]
    Arduino 1.8.12
  • Board [e.g ESP32]
    MKR WAN 1300

Additional context
Add any other context about the problem here.

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

1 participant