Make Wire inherit Stream
fixes: https://github.com/espressif/arduino-esp32/issues/57
This commit is contained in:
parent
c0266615d5
commit
c82699a83d
1 changed files with 2 additions and 1 deletions
|
|
@ -27,10 +27,11 @@
|
|||
#include <esp32-hal.h>
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/queue.h"
|
||||
#include "Stream.h"
|
||||
|
||||
#define I2C_BUFFER_LENGTH 128
|
||||
|
||||
class TwoWire
|
||||
class TwoWire: public Stream
|
||||
{
|
||||
protected:
|
||||
uint8_t num;
|
||||
|
|
|
|||
Loading…
Reference in a new issue