Skip to content

Commit d6575f3

Browse files
committed
v2.1.2 - fix issue #87
1 parent c0cb443 commit d6575f3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SparkFun u-blox GNSS Arduino Library
2-
version=2.1.1
2+
version=2.1.2
33
author=SparkFun Electronics <[email protected]>
44
maintainer=SparkFun Electronics <sparkfun.com>
55
sentence=Library for I2C and Serial Communication with u-blox GNSS modules<br/><br/>

Diff for: src/SparkFun_u-blox_GNSS_Arduino_Library.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
//#define SFE_UBLOX_REDUCED_PROG_MEM // Uncommenting this line will delete the minor debug messages to save memory
6161

6262
//The code just about fills the program memory on the ATmega328P (Arduino Uno), so let's delete the minor debug messages anyway
63-
#if !defined(SFE_UBLOX_REDUCED_PROG_MEM) && defined(ARDUINO_AVR_UNO)
63+
#if !defined(SFE_UBLOX_REDUCED_PROG_MEM) && defined(ARDUINO_ARCH_AVR)
6464
#define SFE_UBLOX_REDUCED_PROG_MEM
6565
#endif
6666

Diff for: src/u-blox_structs.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1817,8 +1817,8 @@ typedef struct
18171817
uint8_t dbdEntryChecksumB;
18181818
} UBX_MGA_DBD_data_t;
18191819

1820-
#if defined(ARDUINO_AVR_UNO)
1821-
#define UBX_MGA_DBD_RINGBUFFER_LEN 3 // Fix to let the code compile on the UNO. (The UNO does not have enough RAM to store the database.)
1820+
#if defined(ARDUINO_ARCH_AVR)
1821+
#define UBX_MGA_DBD_RINGBUFFER_LEN 190 // Fix to let the code compile on AVR platforms - including the UNO.
18221822
#else
18231823
#define UBX_MGA_DBD_RINGBUFFER_LEN 250 // Provide storage for MGA DBD packets. TO DO: confirm if 250 is large enough for all modules!
18241824
#endif

0 commit comments

Comments
 (0)