diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-04-18 18:46:14 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-07-26 12:41:35 +0200 |
commit | d1da7ef303a1cb41df3e72d0a50febcb34650148 (patch) | |
tree | 5597dba80c9bdcd0ccd2aa4c785d45b2483c4132 /cores/arduino/HardwareSerial.h | |
parent | 714874dd8c4d4bdf9acb648f55c9f482c1901098 (diff) |
Make private members of HardwareSerial protected
This allows users to create subclasses.
Closes: #947
Diffstat (limited to 'cores/arduino/HardwareSerial.h')
-rw-r--r-- | cores/arduino/HardwareSerial.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h index a091e03..0f62262 100644 --- a/cores/arduino/HardwareSerial.h +++ b/cores/arduino/HardwareSerial.h @@ -39,7 +39,7 @@ class HardwareSerial : public Stream { - private: + protected: volatile uint8_t *_ubrrh; volatile uint8_t *_ubrrl; volatile uint8_t *_ucsra; |