Skip to content

Serial attach interrupt #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed compiler warnings
fixed compiler warnings when compiling with max. waring level
  • Loading branch information
gicking committed Nov 9, 2019
commit e5fd810fc507217143ad93fe92b70abb9ba73aea
2 changes: 1 addition & 1 deletion cores/arduino/HardwareSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class HardwareSerial : public Stream
inline void _rx_complete_irq(void);
void _tx_udr_empty_irq(void);

typedef void (* isr_t)( uint8_t d=0x00, uint8_t s=0x00 );
typedef void (* isr_t)( uint8_t d, uint8_t s );
void attachInterrupt( isr_t fn );
void detachInterrupt() { attachInterrupt( (isr_t) NULL ); };
private:
Expand Down