GPRS_Shield_Suli icon indicating copy to clipboard operation
GPRS_Shield_Suli copied to clipboard

wait_readable is not waiting - mistake in code

Open ranm opened this issue 10 years ago • 2 comments

in "sim900_wait_readable"

instead of : while((unsigned long) (millis() - timerStart) > wait_time * 1000UL)

should be

while((unsigned long) (millis() - timerStart) < wait_time * 1000UL)

(the comparison is the wrong way so it never waits ....)

ranm avatar Dec 01 '15 21:12 ranm

ranm,

Thank you, the mistake has been corrected...

lanselambor avatar Dec 02 '15 02:12 lanselambor

Hey , Are you merging this to the non suli project as well ?

ranm avatar Dec 24 '15 16:12 ranm