Merge pull request #15177 from danluck/master

Fix overflow at extremely low RSSI
pull/15176/head
Martin Kojtal 2021-11-29 16:54:11 +00:00 committed by GitHub
commit f609a5234e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ typedef struct radio_fsk_packet_handler {
/**
* Storage for RSSI value of the received signal.
*/
int8_t rssi_value;
int16_t rssi_value;
/**
* Automated frequency correction value.
@ -333,7 +333,7 @@ typedef struct radio_lora_packet_handler {
/**
* RSSI value in dBm for the received packet.
*/
int8_t rssi_value;
int16_t rssi_value;
/**
* Size of the transmitted or received packet.