Fix cast warning in Gen7

This commit is contained in:
Erik van der Zalm 2012-02-23 18:50:05 +01:00
parent 01d28c18ab
commit 00690f7ffd
9 changed files with 12 additions and 1056 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,2 +0,0 @@
#v4.0:v100
Debug|Win32|C:\Users\Blair\Desktop\Marlin_v1\Marlin\|

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -67,28 +67,28 @@
const uint8_t PROGMEM port_to_mode_PGM[] = const uint8_t PROGMEM port_to_mode_PGM[] =
{ {
NOT_A_PORT, NOT_A_PORT,
&DDRA, (uint8_t) &DDRA,
&DDRB, (uint8_t) &DDRB,
&DDRC, (uint8_t) &DDRC,
&DDRD, (uint8_t) &DDRD,
}; };
const uint8_t PROGMEM port_to_output_PGM[] = const uint8_t PROGMEM port_to_output_PGM[] =
{ {
NOT_A_PORT, NOT_A_PORT,
&PORTA, (uint8_t) &PORTA,
&PORTB, (uint8_t) &PORTB,
&PORTC, (uint8_t) &PORTC,
&PORTD, (uint8_t) &PORTD,
}; };
const uint8_t PROGMEM port_to_input_PGM[] = const uint8_t PROGMEM port_to_input_PGM[] =
{ {
NOT_A_PORT, NOT_A_PORT,
&PINA, (uint8_t) &PINA,
&PINB, (uint8_t) &PINB,
&PINC, (uint8_t) &PINC,
&PIND, (uint8_t) &PIND,
}; };
const uint8_t PROGMEM digital_pin_to_port_PGM[] = const uint8_t PROGMEM digital_pin_to_port_PGM[] =