From e994e0def84de66bc766ce544e8b710c4ed4d80d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Mon, 21 Dec 2020 23:16:16 +1100 Subject: [PATCH] docs: fix simple typo, onging -> ongoing There is a small typo in src/lmic/lmic.c. Should read `ongoing` rather than `onging`. --- src/lmic/lmic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lmic/lmic.c b/src/lmic/lmic.c index 38020288..3c069103 100644 --- a/src/lmic/lmic.c +++ b/src/lmic/lmic.c @@ -1779,7 +1779,7 @@ static void startScan (void) { ASSERT(LMIC.devaddr!=0 && (LMIC.opmode & OP_JOINING)==0); if( (LMIC.opmode & OP_SHUTDOWN) != 0 ) return; - // Cancel onging TX/RX transaction + // Cancel ongoing TX/RX transaction LMIC.txCnt = LMIC.dnConf = LMIC.bcninfo.flags = 0; LMIC.opmode = (LMIC.opmode | OP_SCAN) & ~(OP_TXRXPEND); setBcnRxParams();