From 4977430ef31fb52994fed42b9cb180930ed943d0 Mon Sep 17 00:00:00 2001 From: Sylvain Miermont Date: Tue, 22 Oct 2013 18:23:52 +0200 Subject: Beta 8 - API: lgw_receive now return info on RX frequency and RF path for each packet (no need to keep track of RF/IF settings) - Unified some portion of the code with the 470 MHz variant of the HAL (use SX1255 radios instead of SX1257) - Improved AGC and ARB firmwares - Adding -Wall -Wextra for compilation, fixing all the new warnings for cleaner code - Fixed bugs in handling of FSK datarate - test_loragw_hal now dumps the content of all Lora registers after configuration in reg_dump.log --- libloragw/src/loragw_spi.native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libloragw/src/loragw_spi.native.c') diff --git a/libloragw/src/loragw_spi.native.c b/libloragw/src/loragw_spi.native.c index f5f0701..64e9427 100644 --- a/libloragw/src/loragw_spi.native.c +++ b/libloragw/src/loragw_spi.native.c @@ -59,7 +59,7 @@ Description: int lgw_spi_open(void **spi_target_ptr) { int *spi_device = NULL; int dev; - int a,b,c; + int a=0, b=0; int i; /* check input variables */ -- cgit v1.2.3