1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-13 02:22:55 +03:00

Implement HardwareSerial::peek

This commit is contained in:
Ivan Grokhotkov
2016-01-25 12:05:02 +03:00
parent 7960b63357
commit 16c0f3f1d5
3 changed files with 20 additions and 3 deletions

View File

@ -136,7 +136,8 @@ public:
protected:
int _uart_nr;
uart_t* _uart;
uart_t* _uart = nullptr;
int _peek_char = -1;
};
extern HardwareSerial Serial;