Fix 'Unused Parameter' warnings in HardwareSerial.h (#78)

This small change removes many of the warnings that are generated when compiling this core with warnings switched on.
This commit is contained in:
Florian Heilmann 2019-01-11 18:21:49 +01:00 committed by Limor "Ladyada" Fried
parent 2ca67fc36b
commit 458b5d9dd7

View file

@ -68,7 +68,7 @@ class HardwareSerial : public Stream
{
public:
virtual void begin(unsigned long) {}
virtual void begin(unsigned long baudrate, uint16_t config) {}
virtual void begin(unsigned long, uint16_t) {}
virtual void end() {}
virtual int available(void) = 0;
virtual int peek(void) = 0;