File tree 1 file changed +17
-17
lines changed
hardware/arduino/pins/leonardo 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -129,31 +129,31 @@ const static uint8_t A7 = 21;
129
129
const uint16_t PROGMEM port_to_mode_PGM [] = {
130
130
NOT_A_PORT ,
131
131
NOT_A_PORT ,
132
- & DDRB ,
133
- & DDRC ,
134
- & DDRD ,
135
- & DDRE ,
136
- & DDRF ,
132
+ ( uint16_t ) & DDRB ,
133
+ ( uint16_t ) & DDRC ,
134
+ ( uint16_t ) & DDRD ,
135
+ ( uint16_t ) & DDRE ,
136
+ ( uint16_t ) & DDRF ,
137
137
};
138
138
139
139
const uint16_t PROGMEM port_to_output_PGM [] = {
140
140
NOT_A_PORT ,
141
141
NOT_A_PORT ,
142
- & PORTB ,
143
- & PORTC ,
144
- & PORTD ,
145
- & PORTE ,
146
- & PORTF ,
142
+ ( uint16_t ) & PORTB ,
143
+ ( uint16_t ) & PORTC ,
144
+ ( uint16_t ) & PORTD ,
145
+ ( uint16_t ) & PORTE ,
146
+ ( uint16_t ) & PORTF ,
147
147
};
148
148
149
149
const uint16_t PROGMEM port_to_input_PGM [] = {
150
150
NOT_A_PORT ,
151
151
NOT_A_PORT ,
152
- & PINB ,
153
- & PINC ,
154
- & PIND ,
155
- & PINE ,
156
- & PINF ,
152
+ ( uint16_t ) & PINB ,
153
+ ( uint16_t ) & PINC ,
154
+ ( uint16_t ) & PIND ,
155
+ ( uint16_t ) & PINE ,
156
+ ( uint16_t ) & PINF ,
157
157
};
158
158
159
159
const uint8_t PROGMEM digital_pin_to_port_PGM [18 ] = {
@@ -210,8 +210,8 @@ const uint8_t PROGMEM digital_pin_to_timer_PGM[18] = {
210
210
NOT_ON_TIMER ,
211
211
TIMER0B ,
212
212
NOT_ON_TIMER ,
213
- TIMER4D ,
214
- NOT_ON_TIMER , // TIMER4D_NOT TODO. Complementary output of TIMER4D on Digital Pin 6. Not sure this was intended.
213
+ NOT_ON_TIMER , // TIMER4D TODO - ZE - Fix this when there's a decision on what to do about these PWM pins
214
+ NOT_ON_TIMER , // TIMER4D_NOT TODO - ZE - Complementary output of TIMER4D on Digital Pin 6. Not sure this was intended.
215
215
NOT_ON_TIMER ,
216
216
217
217
NOT_ON_TIMER , /* 8 port B */
You can’t perform that action at this time.
0 commit comments