Skip to content

Commit 0689517

Browse files
committed
sx1276-board.c, sx1276.h: Add missing SX1276Reset entry
That was uninitialized and caused lora.reset() calls crash.
1 parent 54f4005 commit 0689517

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/sx127x/sx1276/sx1276.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,4 +411,9 @@ void SX1276SetPublicNetwork( bool enable );
411411
*/
412412
void SX1276Reset( void );
413413

414+
/*!
415+
* \brief Resets the SX1276
416+
*/
417+
void SX1276Reset( void );
418+
414419
#endif // __SX1276_H__

esp32/lora/sx1276-board.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ DRAM_ATTR const struct Radio_s Radio =
5252
SX1276SetMaxPayloadLength,
5353
SX1276SetPublicNetwork,
5454
SX1276Reset
55-
5655
};
5756

5857
/*!

0 commit comments

Comments
 (0)