Skip to content

Commit 458b5d9

Browse files
FHeilmannladyada
authored andcommitted
Fix 'Unused Parameter' warnings in HardwareSerial.h (arduino#78)
This small change removes many of the warnings that are generated when compiling this core with warnings switched on.
1 parent 2ca67fc commit 458b5d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/HardwareSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class HardwareSerial : public Stream
6868
{
6969
public:
7070
virtual void begin(unsigned long) {}
71-
virtual void begin(unsigned long baudrate, uint16_t config) {}
71+
virtual void begin(unsigned long, uint16_t) {}
7272
virtual void end() {}
7373
virtual int available(void) = 0;
7474
virtual int peek(void) = 0;

0 commit comments

Comments
 (0)