vogelchr / radioclkd2

Quick and dirty fork of http://www.jonatkins.com/page/software/radioclkd2 adding Linux GPIO pin support.
19 stars 7 forks source link

Function clkPulseLength() doesn't work correctly with "gcc -O2" compiler option #12

Closed jorgedsmatias closed 2 years ago

jorgedsmatias commented 2 years ago

I have submitted a working Pull Request #11 this incorrect behaviour. The problem was noticed with a Raspberry Pi 3 running Debian Bullseye (32bit and 64bit) which comes with GCC v10.2.1

vogelchr commented 2 years ago

I've seen the pull request, and applied it already. Many thanks.