fix debug print
This commit is contained in:
parent
67e4dd4815
commit
6456da188d
1 changed files with 2 additions and 2 deletions
|
@ -1044,10 +1044,10 @@
|
||||||
#define RADIOLIB_DEBUG_PRINTLN(...) { RADIOLIB_DEBUG_PORT.println(__VA_ARGS__); }
|
#define RADIOLIB_DEBUG_PRINTLN(...) { RADIOLIB_DEBUG_PORT.println(__VA_ARGS__); }
|
||||||
#else
|
#else
|
||||||
#if !defined(RADIOLIB_DEBUG_PRINT)
|
#if !defined(RADIOLIB_DEBUG_PRINT)
|
||||||
#define RADIOLIB_DEBUG_PRINT(...) { frintf(RADIOLIB_DEBUG_PORT, __VA_ARGS__); }
|
#define RADIOLIB_DEBUG_PRINT(...) { fprintf(RADIOLIB_DEBUG_PORT, __VA_ARGS__); }
|
||||||
#endif
|
#endif
|
||||||
#if !defined(RADIOLIB_DEBUG_PRINTLN)
|
#if !defined(RADIOLIB_DEBUG_PRINTLN)
|
||||||
#define RADIOLIB_DEBUG_PRINTLN(...) { printf(RADIOLIB_DEBUG_PORT, __VA_ARGS__ "\n"); }
|
#define RADIOLIB_DEBUG_PRINTLN(...) { fprintf(RADIOLIB_DEBUG_PORT, __VA_ARGS__ "\n"); }
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue