8000 Make Wire inherit Stream · gitter-badger/arduino-esp32@c82699a · GitHub
[go: up one dir, main page]

Skip to content

Commit c82699a

Browse files
committed
Make Wire inherit Stream
fixes: espressif#57
1 parent c026661 commit c82699a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/Wire/src/Wire.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@
2727
#include <esp32-hal.h>
2828
#include "freertos/FreeRTOS.h"
2929
#include "freertos/queue.h"
30+
#include "Stream.h"
3031

3132
#define I2C_BUFFER_LENGTH 128
3233

33-
class TwoWire
34+
class TwoWire: public Stream
3435
{
3536
protected:
3637
uint8_t num;

0 commit comments

Comments
 (0)
0