Skip to content

Commit f50372a

Browse files
matthijskooijmancmaglie
authored andcommitted
Make private members of HardwareSerial protected
This allows users to create subclasses. Closes: arduino#947
1 parent 0bd6a2d commit f50372a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/arduino/avr/cores/arduino/HardwareSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
class HardwareSerial : public Stream
4141
{
42-
private:
42+
protected:
4343
volatile uint8_t *_ubrrh;
4444
volatile uint8_t *_ubrrl;
4545
volatile uint8_t *_ucsra;

0 commit comments

Comments
 (0)