Skip to content

Commit d04274d

Browse files
matthijskooijmanfpistm
authored andcommitted
LoraSendAndReceive: Remove call to deprecated minPollInterval
This is already a dummy operatino in the original MKRWAN, but we made it deprecated in STM32LoRaWAN, so remove the call to prevent confusion and a warning.
1 parent 96b9d3f commit d04274d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

examples/LoraSendAndReceive/LoraSendAndReceive.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ void setup()
3838
Serial.println("Something went wrong; are you indoor? Move near a window and retry");
3939
while (1) {}
4040
}
41-
42-
// Set poll interval to 60 secs.
43-
modem.minPollInterval(60);
44-
// NOTE: independently by this setting the modem will
45-
// not allow to send more than one message every 2 minutes,
46-
// this is enforced by firmware and can not be changed.
4741
}
4842

4943
void loop()

0 commit comments

Comments
 (0)