mirror of
https://github.com/thelsing/knx.git
synced 2025-01-21 00:05:43 +01:00
rename getter/setter
This commit is contained in:
parent
8d5dc5bf73
commit
607e386578
@ -68,12 +68,12 @@ int ArduinoPlatform::readBytes(uint8_t * buffer, uint16_t maxLen)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ArduinoPlatform::setUart( HardwareSerial& serial )
|
||||
void ArduinoPlatform::knxUart( HardwareSerial& serial )
|
||||
{
|
||||
_knxSerial = serial;
|
||||
}
|
||||
|
||||
HardwareSerial& ArduinoPlatform::getUart()
|
||||
HardwareSerial& ArduinoPlatform::knxUart()
|
||||
{
|
||||
return _knxSerial;
|
||||
}
|
||||
|
@ -25,8 +25,8 @@ class ArduinoPlatform : public Platform
|
||||
int readBytes(uint8_t* buffer, uint16_t maxLen);
|
||||
|
||||
//uart
|
||||
virtual void setUart( HardwareSerial& serial );
|
||||
virtual HardwareSerial& getUart();
|
||||
virtual void knxUart( HardwareSerial& serial );
|
||||
virtual HardwareSerial& knxUart();
|
||||
virtual void setupUart();
|
||||
virtual void closeUart();
|
||||
virtual int uartAvailable();
|
||||
|
Loading…
Reference in New Issue
Block a user