Skip to content

Commit 2212180

Browse files
sandeepmistryfacchinm
authored andcommitted
Bump Wire buffer size to 128
1 parent cfb7be1 commit 2212180

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/Wire/src/Wire.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#include <Arduino.h>
2626

27-
#define BUFFER_LENGTH 32
27+
#define BUFFER_LENGTH 128
2828

2929
// WIRE_HAS_END means Wire has end()
3030
#define WIRE_HAS_END 1

libraries/Wire/src/utility/twi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ typedef enum TWI_MODE_enum {
6666
} TWI_MODE_t;
6767

6868
/*! Buffer size define */
69-
#define TWI_BUFFER_SIZE 32
69+
#define TWI_BUFFER_SIZE 128
7070

7171
/*! For adding R/_W bit to address */
7272
#define ADD_READ_BIT(address) (address | 0x01)

0 commit comments

Comments
 (0)