[SX127x] Fixed incorrect method names

pull/13/head
Jan Gromeš 2018-09-22 18:58:41 +02:00
rodzic a7d9b9351d
commit 9d935fed1f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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 {