Skip to content

Commit a999289

Browse files
authored
Merge pull request #8034 from EnsilicaEdd/snr_unsigned_signed
Changed the reported SNR from unsigned to signed.
2 parents 396f7e3 + 4a07adb commit a999289

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
@@ -665,7 +665,7 @@ typedef struct {
665665
/**
666666
* The SNR for the received packet.
667667
*/
668-
uint8_t snr;
668+
int8_t snr;
669669
/**
670670
* A boolean to mark if the meta data is stale
671671
*/

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)