From 36d63471609151b40fc1330f043c03e3691e14b6 Mon Sep 17 00:00:00 2001 From: AlessandroAU Date: Tue, 16 Jun 2020 04:14:34 +1000 Subject: [PATCH] fix build err --- Multiprotocol/SX1276_SPI.ino | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Multiprotocol/SX1276_SPI.ino b/Multiprotocol/SX1276_SPI.ino index 3cf9ae0..69c3407 100644 --- a/Multiprotocol/SX1276_SPI.ino +++ b/Multiprotocol/SX1276_SPI.ino @@ -57,11 +57,9 @@ bool SX1276_DetectChip() //to be called after reset, verfies the chip has been d } else { - debug("SX1276 not found! attempts: "); - debug(i + 1); + debug("SX1276 not found! attempts: %d", i); debug(" of "); - debug(MaxAttempts); - debugln(" SX1276 reg version=%d", ChipVersion); + debugln("%d SX1276 reg version=%d", MaxAttempts, ChipVersion); i++; } }