From 0f5b31aa3ae2f07365eed18b5aec317680a9a960 Mon Sep 17 00:00:00 2001 From: jgromes Date: Mon, 10 Apr 2023 13:57:00 +0200 Subject: [PATCH] [SX127x] Removed standby before data read --- .../SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino | 3 --- src/modules/SX127x/SX127x.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/examples/SX127x/SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino b/examples/SX127x/SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino index 6c0997bc..ca33a35e 100644 --- a/examples/SX127x/SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino +++ b/examples/SX127x/SX127x_Receive_Interrupt/SX127x_Receive_Interrupt.ino @@ -139,8 +139,5 @@ void loop() { Serial.println(state); } - - // put module back to listen mode - radio.startReceive(); } } diff --git a/src/modules/SX127x/SX127x.cpp b/src/modules/SX127x/SX127x.cpp index 0dc1cbb4..d28d9858 100644 --- a/src/modules/SX127x/SX127x.cpp +++ b/src/modules/SX127x/SX127x.cpp @@ -598,9 +598,6 @@ int16_t SX127x::finishTransmit() { int16_t SX127x::readData(uint8_t* data, size_t len) { int16_t modem = getActiveModem(); - // put module to standby - standby(); - // get packet length size_t length = getPacketLength(); size_t dumpLen = 0;