Skip to content

Commit

Permalink
Enable I2C_BUFFER_LENGTH definition for Wire lib
Browse files Browse the repository at this point in the history
  • Loading branch information
paclema committed May 11, 2021
1 parent 7856de7 commit 375a89e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/Wire/src/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
#include "Stream.h"

#define STICKBREAKER 'V1.1.0'
#define I2C_BUFFER_LENGTH 128
#ifndef I2C_BUFFER_LENGTH
#define I2C_BUFFER_LENGTH 128
#endif
typedef void(*user_onRequest)(void);
typedef void(*user_onReceive)(uint8_t*, int);

Expand Down

0 comments on commit 375a89e

Please sign in to comment.