Skip to content

Commit e7e94ea

Browse files
authored
Enable I2C_BUFFER_LENGTH definition for Wire lib (#5172)
1 parent b5ee7dd commit e7e94ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/Wire/src/Wire.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
#include "Stream.h"
3232

3333
#define STICKBREAKER 'V1.1.0'
34-
#define I2C_BUFFER_LENGTH 128
34+
#ifndef I2C_BUFFER_LENGTH
35+
#define I2C_BUFFER_LENGTH 128
36+
#endif
3537
typedef void(*user_onRequest)(void);
3638
typedef void(*user_onReceive)(uint8_t*, int);
3739

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy