Skip to content

Commit 22185e1

Browse files
Roy, Elizabethfacchinm
authored andcommitted
Comment changes
1 parent a95a2dc commit 22185e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cores/arduino/Tone.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,13 @@ volatile uint8_t timerb2_bit_mask;
6969
/*
7070
#define USE_TIMERB2 // interferes with PWM on pin 11
7171
#define USE_TIMERB0 // interferes with PWM on pin 6
72+
#define USE_TIMERA0 // interferes with PWM on pins 5,9,10
7273
*/
7374

7475
// Can't use TIMERB3 -- used for application time tracking
7576
// Leave TIMERA0 to last -- all other timers use its clock
76-
const uint8_t PROGMEM tone_pin_to_timer_PGM[] = { TIMERB1 /*, TIMERB2, TIMERB0 */ };
77-
static uint8_t tone_pins[AVAILABLE_TONE_PINS] = { NOT_A_PIN /*, NOT_A_PIN, NOT_A_PIN */ };
77+
const uint8_t PROGMEM tone_pin_to_timer_PGM[] = { TIMERB1 /*, TIMERB2, TIMERB0, TIMERA0 */ };
78+
static uint8_t tone_pins[AVAILABLE_TONE_PINS] = { NOT_A_PIN /*, NOT_A_PIN, NOT_A_PIN, NOT_A_PIN */ };
7879

7980

8081
static int8_t toneBegin(uint8_t _pin)

0 commit comments

Comments
 (0)