Skip to content

Commit 984d29c

Browse files
committed
Avoid issue: undefined reference to `vtable for HardwareSerial'
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 41a47ee commit 984d29c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/HardwareSerial.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
class HardwareSerial : public Stream
2727
{
2828
public:
29-
virtual void begin(unsigned long);
30-
virtual void end();
29+
virtual void begin(unsigned long) = 0;
30+
virtual void end() = 0;
3131
virtual int available(void) = 0;
3232
virtual int peek(void) = 0;
3333
virtual int read(void) = 0;

0 commit comments

Comments
 (0)