diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-11-16 12:15:57 -0500 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-11-16 12:15:57 -0500 |
commit | ed336f1b68cd537965c1294a3402769688a686ab (patch) | |
tree | d0d5b3f7be40b2c091f6b21930a8bf1325473f94 /variants/leonardo/pins_arduino.h | |
parent | 21a81fba93250ce39e21e426e06681bef46d21c7 (diff) |
Fixed size of const array mapping digital pin number to bit mask.
Diffstat (limited to 'variants/leonardo/pins_arduino.h')
-rw-r--r-- | variants/leonardo/pins_arduino.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variants/leonardo/pins_arduino.h b/variants/leonardo/pins_arduino.h index f8cbce7..15afb4e 100644 --- a/variants/leonardo/pins_arduino.h +++ b/variants/leonardo/pins_arduino.h @@ -175,7 +175,7 @@ const uint8_t PROGMEM digital_pin_to_port_PGM[30] = { PD, // D29 / D12 - A11 - PD6 }; -const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[18] = { +const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[30] = { _BV(2), // D0 - PD2 _BV(3), // D1 - PD3 _BV(1), // D2 - PD1 |