mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-22 23:37:43 +00:00
* push driver for DCF77 to actual OBK code
* Chnged to new HAL IRQ API
Added missing "CHANGE" interrupt (rising and falling) for LN882H, W600/W800 and ESP (not yet tested)
Moved code from ISR to QuickTick funktion (else LN882H would crash)
Tested to work with
W800 ("CHANGE")
BL602 ("RISING" and "FALLING")
LN882H (both "CHANGE" and "RISING"/"FALLING" tested)
* fixed ESP (wrong formated comment
for testing at least compilation, added "#define ENABLE_DRIVER_DCF77 1" for more platforms ...
* disabled DCF77 driver for RDA5981 - no xticks code found
* Changed logic again, IRS will only save timestamp, all decoding is done in QuickTick function
No need for Rising/falling edge definition, driver ony searches for "bit" gaps (100 or 200 ms) and ignore the "in between" gap to the next bit.
Therefore no need to know, if rising or falling edge starts the bit.
* chagnge driver to get Pin from argument 1
* Disable driver in obk_config.h