Skip to content

Commit 9243493

Browse files
committed
Change #114 to ARDUINO_ARCH_MEGAAVR
1 parent 238617a commit 9243493

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/u-blox_structs.h

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

2132-
#if defined(ARDUINO_ARCH_AVR) || defined(__AVR_DA__) || defined(__AVR_DB__)
2133-
#define UBX_MGA_DBD_RINGBUFFER_LEN 190 // Fix to let the code compile on AVR platforms - including the UNO.
2132+
#if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)
2133+
#define UBX_MGA_DBD_RINGBUFFER_LEN 190 // Fix to let the code compile on AVR platforms - including the UNO and DxCore (DA/DB).
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!
21362136
#endif

0 commit comments

Comments
 (0)