From 45b0b40db8a6967c3593f5b6a73e25ed31507b57 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Mon, 2 Nov 2020 12:24:40 +0100 Subject: [PATCH] lorawan.cpp code sanitizations --- src/lorawan.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/lorawan.cpp b/src/lorawan.cpp index d7567d50..00f92194 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -540,23 +540,6 @@ void myRxCallback(void *pUserData, uint8_t port, const uint8_t *pMsg, } // switch } -/* -// event EV_TXCOMPLETE message handler -void myTxCallback(void *pUserData, int fSuccess) { - - uint8_t *const pMsg = (uint8_t *)pUserData; - - // LMIC did successful transmit data - if (fSuccess) { - RTCseqnoUp = LMIC.seqnoUp; - RTCseqnoDn = LMIC.seqnoDn; - } else { - // LMIC could not transmit data - // -> error handling yet to come - } -} -*/ - const char *getSfName(rps_t rps) { const char *const t[] = {"FSK", "SF7", "SF8", "SF9", "SF10", "SF11", "SF12", "SF?"};