diff options
author | Cristian Maglie <c.maglie@bug.st> | 2012-11-25 15:46:34 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2012-11-25 15:46:34 +0100 |
commit | 2659e41c00dba4e34aaa38feb1dd3437ac462f5f (patch) | |
tree | 7b64424310dff2253e59b7ca283366833d1b5cc4 /variants/leonardo | |
parent | 8fb58612a01430dd796de9bb3705e5f8380da747 (diff) |
Extended digital_pin_to_timer_PGM array in variants/leonardo/pins_arduino.h to include analog pins (fixed #1129)
Diffstat (limited to 'variants/leonardo')
-rw-r--r-- | variants/leonardo/pins_arduino.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/variants/leonardo/pins_arduino.h b/variants/leonardo/pins_arduino.h index 42f2dd1..c2ce096 100644 --- a/variants/leonardo/pins_arduino.h +++ b/variants/leonardo/pins_arduino.h @@ -278,7 +278,7 @@ const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[30] = { _BV(6), // D29 / D12 - A11 - PD6 }; -const uint8_t PROGMEM digital_pin_to_timer_PGM[16] = { +const uint8_t PROGMEM digital_pin_to_timer_PGM[30] = { NOT_ON_TIMER, NOT_ON_TIMER, NOT_ON_TIMER, @@ -298,6 +298,21 @@ const uint8_t PROGMEM digital_pin_to_timer_PGM[16] = { NOT_ON_TIMER, NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, + NOT_ON_TIMER, }; const uint8_t PROGMEM analog_pin_to_channel_PGM[12] = { |