Permalink
Browse files

Fix cast warning in Gen7

  • Loading branch information...
ErikZalm committed Feb 23, 2012
1 parent 01d28c1 commit 00690f7ffd5bc06d851abd373fc4925e05d138c4
View
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
-#v4.0:v100
-Debug|Win32|C:\Users\Blair\Desktop\Marlin_v1\Marlin\|
View

Large diffs are not rendered by default.

Oops, something went wrong.
No changes.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
@@ -67,28 +67,28 @@
const uint8_t PROGMEM port_to_mode_PGM[] =
{
NOT_A_PORT,
- &DDRA,
- &DDRB,
- &DDRC,
- &DDRD,
+ (uint8_t) &DDRA,
+ (uint8_t) &DDRB,
+ (uint8_t) &DDRC,
+ (uint8_t) &DDRD,
};
const uint8_t PROGMEM port_to_output_PGM[] =
{
NOT_A_PORT,
- &PORTA,
- &PORTB,
- &PORTC,
- &PORTD,
+ (uint8_t) &PORTA,
+ (uint8_t) &PORTB,
+ (uint8_t) &PORTC,
+ (uint8_t) &PORTD,
};
const uint8_t PROGMEM port_to_input_PGM[] =
{
NOT_A_PORT,
- &PINA,
- &PINB,
- &PINC,
- &PIND,
+ (uint8_t) &PINA,
+ (uint8_t) &PINB,
+ (uint8_t) &PINC,
+ (uint8_t) &PIND,
};
const uint8_t PROGMEM digital_pin_to_port_PGM[] =

0 comments on commit 00690f7

Please sign in to comment.