From 9243493c9b2d8918c155e3199318b4242b85147b Mon Sep 17 00:00:00 2001 From: PaulZC Date: Mon, 28 Feb 2022 07:01:25 +0000 Subject: [PATCH] Change #114 to ARDUINO_ARCH_MEGAAVR --- src/u-blox_structs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/u-blox_structs.h b/src/u-blox_structs.h index 9c3f5c3..3812c26 100644 --- a/src/u-blox_structs.h +++ b/src/u-blox_structs.h @@ -2129,8 +2129,8 @@ typedef struct uint8_t dbdEntryChecksumB; } UBX_MGA_DBD_data_t; -#if defined(ARDUINO_ARCH_AVR) || defined(__AVR_DA__) || defined(__AVR_DB__) -#define UBX_MGA_DBD_RINGBUFFER_LEN 190 // Fix to let the code compile on AVR platforms - including the UNO. +#if defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR) +#define UBX_MGA_DBD_RINGBUFFER_LEN 190 // Fix to let the code compile on AVR platforms - including the UNO and DxCore (DA/DB). #else #define UBX_MGA_DBD_RINGBUFFER_LEN 250 // Provide storage for MGA DBD packets. TO DO: confirm if 250 is large enough for all modules! #endif