Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc02f9c

Browse files
committed
Merge pull request RFduino#12 from tripzero/master
make these virtual
2 parents 935ac4c + c0e96d2 commit bc02f9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cores/arduino/HardwareSerial.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
class HardwareSerial : public Stream
5353
{
5454
public:
55-
void begin( const uint32_t dwBaudRate ) ;
56-
void begin( const uint32_t dwBaudRate, uint8_t rx_pin, uint8_t tx_pin ) ;
57-
void end();
55+
virtual void begin( const uint32_t dwBaudRate ) = 0;
56+
virtual void begin( const uint32_t dwBaudRate, uint8_t rx_pin, uint8_t tx_pin ) = 0;
57+
virtual void end() = 0;
5858
virtual int available(void) = 0;
5959
virtual int peek(void) = 0;
6060
virtual int read(void) = 0;

0 commit comments

Comments
 (0)