aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_shift.c
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-12-30 18:05:12 -0500
committerDavid A. Mellis <d.mellis@arduino.cc>2011-12-30 18:05:12 -0500
commit3ece2827a48166d957d3e347035561d5a1104930 (patch)
tree4b60f6c72bbe6fa6bd38552e1e952826ba6abaac /cores/arduino/wiring_shift.c
parent51840644864088fc17bef2476fec47e026653d09 (diff)
Simplifying microseconds <-> clock cycles conversions. (Rob Tillaart)
This should fix problems with overflows in pulseIn(). It may make millis() slightly less precise for clock speeds that aren't multiple of 1 million, but we don't really support those anyway. http://code.google.com/p/arduino/issues/detail?id=675
Diffstat (limited to 'cores/arduino/wiring_shift.c')
0 files changed, 0 insertions, 0 deletions