diff --git a/features/lorawan/lorawan_types.h b/features/lorawan/lorawan_types.h index 9d7edb7ae6..186eda07a1 100644 --- a/features/lorawan/lorawan_types.h +++ b/features/lorawan/lorawan_types.h @@ -665,7 +665,7 @@ typedef struct { /** * The SNR for the received packet. */ - uint8_t snr; + int8_t snr; /** * A boolean to mark if the meta data is stale */ diff --git a/features/lorawan/system/lorawan_data_structures.h b/features/lorawan/system/lorawan_data_structures.h index e3f2418820..fcf9d88f35 100644 --- a/features/lorawan/system/lorawan_data_structures.h +++ b/features/lorawan/system/lorawan_data_structures.h @@ -666,7 +666,7 @@ typedef struct { /*! * The SNR of the received packet. */ - uint8_t snr; + int8_t snr; /*! * The receive window. *