Skip to content

Commit e5fd810

Browse files
committed
fixed compiler warnings
fixed compiler warnings when compiling with max. waring level
1 parent 291b7f7 commit e5fd810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/HardwareSerial.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class HardwareSerial : public Stream
140140
inline void _rx_complete_irq(void);
141141
void _tx_udr_empty_irq(void);
142142

143-
typedef void (* isr_t)( uint8_t d=0x00, uint8_t s=0x00 );
143+
typedef void (* isr_t)( uint8_t d, uint8_t s );
144144
void attachInterrupt( isr_t fn );
145145
void detachInterrupt() { attachInterrupt( (isr_t) NULL ); };
146146
private:

0 commit comments

Comments
 (0)