mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Fixed size of const array mapping digital pin number to bit mask.
This commit is contained in:
parent
bcbc9a0d67
commit
9b58072423
@ -175,7 +175,7 @@ const uint8_t PROGMEM digital_pin_to_port_PGM[30] = {
|
|||||||
PD, // D29 / D12 - A11 - PD6
|
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(2), // D0 - PD2
|
||||||
_BV(3), // D1 - PD3
|
_BV(3), // D1 - PD3
|
||||||
_BV(1), // D2 - PD1
|
_BV(1), // D2 - PD1
|
||||||
|
Loading…
Reference in New Issue
Block a user