Skip to content

Commit 9b58072

Browse files
committed
Fixed size of const array mapping digital pin number to bit mask.
1 parent bcbc9a0 commit 9b58072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/arduino/variants/leonardo/pins_arduino.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const uint8_t PROGMEM digital_pin_to_port_PGM[30] = {
175175
PD, // D29 / D12 - A11 - PD6
176176
};
177177

178-
const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[18] = {
178+
const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[30] = {
179179
_BV(2), // D0 - PD2
180180
_BV(3), // D1 - PD3
181181
_BV(1), // D2 - PD1

0 commit comments

Comments
 (0)