khoih-prog / TimerInterrupt_Generic

This library enables you to use Interrupt from Hardware Timers on supported Arduino boards such as AVR, ESP8266, ESP32, SAMD, SAM DUE, nRF52, Teensy, etc. These Hardware Timers, using Interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micros(). That's mandatory if you need to measure some data requiring better accuracy. It now supports 16 ISR-based Timers, while consuming only 1 Hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based Timers. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks.
MIT License
38 stars 5 forks source link

missing #include "TimerInterrupt_Generic_Debug.h" in ESP8266TimerInterrupt_Generic.h #9

Closed mikyjazz closed 2 years ago

mikyjazz commented 2 years ago

missing #include "TimerInterrupt_Generic_Debug.h" in ESP8266TimerInterrupt_Generic.h

khoih-prog commented 2 years ago

Hi @mikyjazz

Thanks for the info.

It's redundant and not necessary, and won't create any compile error because of

https://github.com/khoih-prog/TimerInterrupt_Generic/blob/378b3c2f025fe4b40949f0da739519ada4489137/src/TimerInterrupt_Generic.h#L56

Anyway, I've just added to main for consistency to many more files.