From 3abd5e19899ca7becfefad5c5004330bee355626 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Wed, 8 Jul 2020 00:09:40 +0300 Subject: [PATCH] prevent overflow on big repeat count --- si4432.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/si4432.c b/si4432.c index 82e923a..ec99b3b 100644 --- a/si4432.c +++ b/si4432.c @@ -451,7 +451,7 @@ pureRSSI_t getSI4432_RSSI_correction(void){ pureRSSI_t SI4432_RSSI(uint32_t i, int s) { (void) i; - pureRSSI_t RSSI_RAW; + int32_t RSSI_RAW; (void) i; // SEE DATASHEET PAGE 61 #ifdef USE_SI4463 // Not used!!!!!!!