From 9d935fed1f3874a838d20d28559465816cfaf081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Grome=C5=A1?= Date: Sat, 22 Sep 2018 18:58:41 +0200 Subject: [PATCH] [SX127x] Fixed incorrect method names --- examples/SX127x_ReceiveInterrupt/SX127x_ReceiveInterrupt.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/SX127x_ReceiveInterrupt/SX127x_ReceiveInterrupt.ino b/examples/SX127x_ReceiveInterrupt/SX127x_ReceiveInterrupt.ino index 85622a4e..6285e7d4 100644 --- a/examples/SX127x_ReceiveInterrupt/SX127x_ReceiveInterrupt.ino +++ b/examples/SX127x_ReceiveInterrupt/SX127x_ReceiveInterrupt.ino @@ -51,11 +51,11 @@ void setup() { // set the function that will be called // when new packet is received - lora.onReceive(setFlag); + lora.setDio0Action(setFlag); // start listening for LoRa packets Serial.print(F("Starting to listen ... ")); - state = lora.listen(); + state = lora.startReceive(); if (state == ERR_NONE) { Serial.println(F("success!")); } else {