1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-20 14:54:31 +01:00

Make private members of HardwareSerial protected

This allows users to create subclasses.

Closes: #947
This commit is contained in:
Matthijs Kooijman 2013-04-18 18:46:14 +02:00 committed by Cristian Maglie
parent 0bd6a2d20f
commit f50372a2a6

View File

@ -39,7 +39,7 @@
class HardwareSerial : public Stream
{
private:
protected:
volatile uint8_t *_ubrrh;
volatile uint8_t *_ubrrl;
volatile uint8_t *_ucsra;