Change #114 to ARDUINO_ARCH_MEGAAVR
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user