1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Fixed size of const array mapping digital pin number to bit mask.

This commit is contained in:
Zach Eveland 2011-11-16 12:15:57 -05:00
parent bcbc9a0d67
commit 9b58072423

View File

@ -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