SFU-Embedded-Cosplay / Halo-Suit-BeagleBone

2 stars 0 forks source link

beagleblue TIMEOUT #22

Open HamiltonChris opened 8 years ago

HamiltonChris commented 8 years ago

On lines 194 and 245 there is a check

if (current_time - start_time == TIMEOUT)

should be

if(current_time - start_time <= TIMEOUT)

Since getting the exact time is unlikely to trigger this if statement.

abrykajlo commented 8 years ago

should be:

if(current_time - start_time >= TIMEOUT)

look at the while loop immediately before this

HamiltonChris commented 8 years ago

oops my bad but you know what I meant