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.
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:
Windows
Arduino 1.8.12
Arduino 1.8.12
MKR WAN 1300
Additional context
Add any other context about the problem here.