From 3b6f4b7f598d7b7b25fa6d2c83568ebacd67e76a Mon Sep 17 00:00:00 2001 From: SRGDamia1 Date: Wed, 7 Jun 2017 17:17:34 -0400 Subject: [PATCH] Tiny fix to XBee debug --- TinyGsmClientXBee.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TinyGsmClientXBee.h b/TinyGsmClientXBee.h index fa3b0d1..aa083e1 100644 --- a/TinyGsmClientXBee.h +++ b/TinyGsmClientXBee.h @@ -263,7 +263,7 @@ public: char buf[2] = {0}; // Set up buffer for response buf[0] = streamRead(); buf[1] = streamRead(); - DBG(buf, "\n"); + DBG(buf[0], buf[1], "\n"); exitCommand(); int intr = strtol(buf, 0, 16); if (beeType == S6B) return -93 + intr; // the maximum sensitivity is -93dBm