AndrewMascolo / CountUpDownTimer

MIT License
28 stars 20 forks source link

Missing "=" on header file in timer bool #23

Closed dragoblaztr closed 5 years ago

dragoblaztr commented 5 years ago

I'm looking at code and I found this mistake or if I'am wrong please let me know

    if ((_intTime = _InternalClock() ) - time > duration ) // check the time difference and see if 1 second has elapsed
    {
AndrewMascolo commented 5 years ago

It’s not a mistake, I’m assigning the value of _InternalClock to _intTime, then subtracting time from that result.

Sent from my iPhone

On Oct 10, 2018, at 11:16 PM, dragoblaztr notifications@github.com wrote:

I'm looking at code and I found this mistake or if I'am wrong please let me know

if ((_intTime = _InternalClock() ) - time > duration ) // check the time difference and see if 1 second has elapsed { — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.