From 6456da188de8e0cb8014bd88504e42938ecbb387 Mon Sep 17 00:00:00 2001 From: Mestery Date: Sun, 9 Apr 2023 21:34:13 +0200 Subject: [PATCH] fix debug print --- src/BuildOpt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BuildOpt.h b/src/BuildOpt.h index 76770580..c6b0583d 100644 --- a/src/BuildOpt.h +++ b/src/BuildOpt.h @@ -1044,10 +1044,10 @@ #define RADIOLIB_DEBUG_PRINTLN(...) { RADIOLIB_DEBUG_PORT.println(__VA_ARGS__); } #else #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 #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 #else