diff options
author | Jan <Jan.reucker@gmail.com> | 2015-04-11 00:15:58 +0200 |
---|---|---|
committer | Jan <Jan.reucker@gmail.com> | 2015-04-11 00:15:58 +0200 |
commit | 331f5c832eb40da524e40dc08c6ff83aae79b954 (patch) | |
tree | 7a3ec60ea98b0899fe185592c0b52617c58af6ee /libraries | |
parent | cf6b1559cfde263fe4cff93a1f26a944fda91677 (diff) |
Update Tone.cpp
Rebased the bugfix from the original Google Code issue #292 to work with Arduino 1.6.x
Description of original fix provided by Pete62:
The later 8 bit AVR's use two registers (TCCRxA, TCCRxB) whereas the ATmega8 only uses a single register (TCCR2) to house the control bits for Timer 2. Bits were inadvertently being cleared.
Diffstat (limited to 'libraries')
0 files changed, 0 insertions, 0 deletions