|
@@ -67,28 +67,28 @@
|
67
|
67
|
const uint8_t PROGMEM port_to_mode_PGM[] =
|
68
|
68
|
{
|
69
|
69
|
NOT_A_PORT,
|
70
|
|
- (uint8_t) &DDRA,
|
71
|
|
- (uint8_t) &DDRB,
|
72
|
|
- (uint8_t) &DDRC,
|
73
|
|
- (uint8_t) &DDRD,
|
|
70
|
+ (uint8_t) (uint16_t) &DDRA,
|
|
71
|
+ (uint8_t) (uint16_t) &DDRB,
|
|
72
|
+ (uint8_t) (uint16_t) &DDRC,
|
|
73
|
+ (uint8_t) (uint16_t) &DDRD,
|
74
|
74
|
};
|
75
|
75
|
|
76
|
76
|
const uint8_t PROGMEM port_to_output_PGM[] =
|
77
|
77
|
{
|
78
|
78
|
NOT_A_PORT,
|
79
|
|
- (uint8_t) &PORTA,
|
80
|
|
- (uint8_t) &PORTB,
|
81
|
|
- (uint8_t) &PORTC,
|
82
|
|
- (uint8_t) &PORTD,
|
|
79
|
+ (uint8_t) (uint16_t) &PORTA,
|
|
80
|
+ (uint8_t) (uint16_t) &PORTB,
|
|
81
|
+ (uint8_t) (uint16_t) &PORTC,
|
|
82
|
+ (uint8_t) (uint16_t) &PORTD,
|
83
|
83
|
};
|
84
|
84
|
|
85
|
85
|
const uint8_t PROGMEM port_to_input_PGM[] =
|
86
|
86
|
{
|
87
|
87
|
NOT_A_PORT,
|
88
|
|
- (uint8_t) &PINA,
|
89
|
|
- (uint8_t) &PINB,
|
90
|
|
- (uint8_t) &PINC,
|
91
|
|
- (uint8_t) &PIND,
|
|
88
|
+ (uint8_t) (uint16_t) &PINA,
|
|
89
|
+ (uint8_t) (uint16_t) &PINB,
|
|
90
|
+ (uint8_t) (uint16_t) &PINC,
|
|
91
|
+ (uint8_t) (uint16_t) &PIND,
|
92
|
92
|
};
|
93
|
93
|
|
94
|
94
|
const uint8_t PROGMEM digital_pin_to_port_PGM[] =
|