1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-13 02:22:55 +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:
Earle F. Philhower, III
2020-08-05 17:13:37 -07:00
committed by GitHub
parent 9afb084159
commit 3e567e9489
3 changed files with 21 additions and 0 deletions

View File

@ -207,4 +207,6 @@ protected:
extern HardwareSerial Serial;
extern HardwareSerial Serial1;
extern void serialEventRun(void) __attribute__((weak));
#endif