Skip to content

Commit 1a0d905

Browse files
author
Hasnain Virk
committed
Doc fix
Structure naming in the docs was wrong.
1 parent f63ed86 commit 1a0d905

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

features/lorawan/LoRaWANBase.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ class LoRaWANBase {
301301
* lorawan.connect();
302302
* }
303303
*
304-
* static void my_event_handler(lora_events_t events)
304+
* static void my_event_handler(lorawan_event_t event)
305305
* {
306-
* switch(events) {
306+
* switch(event) {
307307
* case CONNECTED:
308308
* //do something
309309
* break;

features/lorawan/LoRaWANInterface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,9 @@ class LoRaWANInterface: public LoRaWANBase {
399399
* lorawan.connect();
400400
* }
401401
*
402-
* static void my_event_handler(lora_events_t events)
402+
* static void my_event_handler(lorawan_event_t event)
403403
* {
404-
* switch(events) {
404+
* switch(event) {
405405
* case CONNECTED:
406406
* //do something
407407
* break;

0 commit comments

Comments
 (0)