jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

In wiring.c (trunk), the delay() function does not check for wrap of timer0_millis #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?

Please provide any additional information below.

Original issue reported on code.google.com by prophet3...@gmail.com on 27 Dec 2009 at 1:14

GoogleCodeExporter commented 9 years ago
Doh. Ignore me. Someone pointed out to me that even if timer0_millis wraps 
while the 
loop is executing, the difference millis() - start also wraps, such that the 
behaviour 
is correct.

Original comment by prophet3...@gmail.com on 28 Dec 2009 at 7:57

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 29 Dec 2009 at 9:05