Change #114 to ARDUINO_ARCH_MEGAAVR

This commit is contained in:
PaulZC
2022-02-28 07:01:25 +00:00
parent 238617af20
commit 9243493c9b
+2 -2
View File
@@ -2129,8 +2129,8 @@ typedef struct
uint8_t dbdEntryChecksumB; uint8_t dbdEntryChecksumB;
} UBX_MGA_DBD_data_t; } UBX_MGA_DBD_data_t;
#if defined(ARDUINO_ARCH_AVR) || defined(__AVR_DA__) || defined(__AVR_DB__) #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. #define UBX_MGA_DBD_RINGBUFFER_LEN 190 // Fix to let the code compile on AVR platforms - including the UNO and DxCore (DA/DB).
#else #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! #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 #endif