From ed336f1b68cd537965c1294a3402769688a686ab Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Wed, 16 Nov 2011 12:15:57 -0500 Subject: Fixed size of const array mapping digital pin number to bit mask. --- variants/leonardo/pins_arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variants') 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 -- cgit v1.2.3-18-g5258