Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit 4d20541

Browse files
authored
Merge pull request #10 from MitsuhideA/perf_payload_size
perf: Give the possibility to change the buffer size
2 parents 64c74a4 + b7935ba commit 4d20541

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SparkFun_Ublox_Arduino_Library.h

+4
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,12 @@ const uint8_t VAL_GROUP_I2C = 0x51;
158158

159159
const uint8_t VAL_ID_I2C_ADDRESS = 0x01;
160160

161+
#ifndef MAX_PAYLOAD_SIZE
162+
161163
#define MAX_PAYLOAD_SIZE 64 //Some commands are larger than 64 bytes but this covers most
162164

165+
#endif
166+
163167
//-=-=-=-=- UBX binary specific variables
164168
typedef struct
165169
{

0 commit comments

Comments
 (0)