Skip to content

Commit 4a07adb

Browse files
committed
Changed the reported SNR from unsigned to signed.
Internally and logically it is a signed value.
1 parent 970bc73 commit 4a07adb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

features/lorawan/lorawan_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ typedef struct {
663663
/**
664664
* The SNR for the received packet.
665665
*/
666-
uint8_t snr;
666+
int8_t snr;
667667
/**
668668
* A boolean to mark if the meta data is stale
669669
*/

features/lorawan/system/lorawan_data_structures.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ typedef struct {
666666
/*!
667667
* The SNR of the received packet.
668668
*/
669-
uint8_t snr;
669+
int8_t snr;
670670
/*!
671671
* The receive window.
672672
*

0 commit comments

Comments
 (0)