mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
Adding custom buffer_length using I2C_BUFFER_LENGTH (#8390)
* Adding custom buffer_length using I2C_BUFFER_LENGTH
This commit is contained in:
parent
2492057b61
commit
0f231b1c23
@ -29,7 +29,11 @@
|
||||
|
||||
|
||||
|
||||
#ifndef I2C_BUFFER_LENGTH
|
||||
#define BUFFER_LENGTH 128
|
||||
#else
|
||||
#define BUFFER_LENGTH I2C_BUFFER_LENGTH
|
||||
#endif
|
||||
|
||||
class TwoWire : public Stream
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user