Browse Source

Tiny fix to XBee debug

v_master
SRGDamia1 7 years ago
parent
commit
3b6f4b7f59
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      TinyGsmClientXBee.h

+ 1
- 1
TinyGsmClientXBee.h View File

@ -263,7 +263,7 @@ public:
char buf[2] = {0}; // Set up buffer for response char buf[2] = {0}; // Set up buffer for response
buf[0] = streamRead(); buf[0] = streamRead();
buf[1] = streamRead(); buf[1] = streamRead();
DBG(buf, "\n");
DBG(buf[0], buf[1], "\n");
exitCommand(); exitCommand();
int intr = strtol(buf, 0, 16); int intr = strtol(buf, 0, 16);
if (beeType == S6B) return -93 + intr; // the maximum sensitivity is -93dBm if (beeType == S6B) return -93 + intr; // the maximum sensitivity is -93dBm


Loading…
Cancel
Save