mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-27 05:56:11 +03:00
Add SerialEvent() callback to loop processing (#7505)
* Add SerialEvent() callback to loop processing Match the AVR SerialEvent implicit callback. Callback is executed in normal user mode, not IRQ, so standard processing can be uses. Fixes #752 after 5 years. :) * Fix style
This commit is contained in:
committed by
GitHub
parent
9afb084159
commit
3e567e9489
@@ -207,4 +207,6 @@ protected:
|
||||
extern HardwareSerial Serial;
|
||||
extern HardwareSerial Serial1;
|
||||
|
||||
extern void serialEventRun(void) __attribute__((weak));
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user