Skip to content

Commit 238617a

Browse files
authored
Merge pull request #114 from nabelekt/fix-avr-da-db-compilation
Fix compilation for AVR DA- and DB-series MCUs
2 parents 48c38ff + 8ceeb74 commit 238617a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/u-blox_structs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2129,7 +2129,7 @@ typedef struct
21292129
uint8_t dbdEntryChecksumB;
21302130
} UBX_MGA_DBD_data_t;
21312131

2132-
#if defined(ARDUINO_ARCH_AVR)
2132+
#if defined(ARDUINO_ARCH_AVR) || defined(__AVR_DA__) || defined(__AVR_DB__)
21332133
#define UBX_MGA_DBD_RINGBUFFER_LEN 190 // Fix to let the code compile on AVR platforms - including the UNO.
21342134
#else
21352135
#define UBX_MGA_DBD_RINGBUFFER_LEN 250 // Provide storage for MGA DBD packets. TO DO: confirm if 250 is large enough for all modules!

0 commit comments

Comments
 (0)