Merge pull request #114 from nabelekt/fix-avr-da-db-compilation
Fix compilation for AVR DA- and DB-series MCUs
This commit is contained in:
@@ -2129,7 +2129,7 @@ typedef struct
|
|||||||
uint8_t dbdEntryChecksumB;
|
uint8_t dbdEntryChecksumB;
|
||||||
} UBX_MGA_DBD_data_t;
|
} UBX_MGA_DBD_data_t;
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_AVR)
|
#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.
|
#define UBX_MGA_DBD_RINGBUFFER_LEN 190 // Fix to let the code compile on AVR platforms - including the UNO.
|
||||||
#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!
|
||||||
|
|||||||
Reference in New Issue
Block a user