Enable I2C_BUFFER_LENGTH definition for Wire lib (#5172)

This commit is contained in:
Pablo Clemente Maseda 2021-06-10 12:15:35 +02:00 committed by GitHub
parent b5ee7ddeed
commit e7e94ea247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,9 @@
#include "Stream.h"
#define STICKBREAKER 'V1.1.0'
#ifndef I2C_BUFFER_LENGTH
#define I2C_BUFFER_LENGTH 128
#endif
typedef void(*user_onRequest)(void);
typedef void(*user_onReceive)(uint8_t*, int);