Skip to content

Commit

Permalink
Adding custom buffer_length using I2C_BUFFER_LENGTH (#8390)
Browse files Browse the repository at this point in the history
* Adding custom buffer_length using I2C_BUFFER_LENGTH
  • Loading branch information
Maelstrom96 committed Dec 1, 2021
1 parent 2492057 commit 0f231b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/Wire/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@



#ifndef I2C_BUFFER_LENGTH
#define BUFFER_LENGTH 128
#else
#define BUFFER_LENGTH I2C_BUFFER_LENGTH
#endif

class TwoWire : public Stream
{
Expand Down

0 comments on commit 0f231b1

Please sign in to comment.