From fe925f19f8ddab6650cca4f44049e6e26f3bb392 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Fri, 23 Mar 2018 16:48:52 +0100 Subject: [PATCH] revert a buggy change in lorawan.cpp --- src/lorawan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lorawan.cpp b/src/lorawan.cpp index 2ce12385..85164280 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -53,7 +53,7 @@ void printKey(const char * name, const uint8_t * key, uint8_t len, bool lsb) { uint8_t start=lsb?len:0; uint8_t end = lsb?0:len; const uint8_t * p ; - char keystring[len+1], keybyte[3]; + char keystring[len+1] = "", keybyte[3]; for (uint8_t i=0; i