Unverified Commit 9c8d0577 authored by dlabun's avatar dlabun Committed by GitHub

Merge pull request #336 from EndlessDelirium/features/vtable_bugfix

fix for "undefined reference to `vtable for HardwareSerial'"
parents dd9a92d5 c0eeb9c0
...@@ -67,9 +67,9 @@ ...@@ -67,9 +67,9 @@
class HardwareSerial : public Stream class HardwareSerial : public Stream
{ {
public: public:
virtual void begin(unsigned long); virtual void begin(unsigned long) = 0;
virtual void begin(unsigned long baudrate, uint16_t config); virtual void begin(unsigned long baudrate, uint16_t config) = 0;
virtual void end(); virtual void end() = 0;
virtual int available(void) = 0; virtual int available(void) = 0;
virtual int peek(void) = 0; virtual int peek(void) = 0;
virtual int read(void) = 0; virtual int read(void) = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment