Skip to content
Browse files

Fix cast warning in Gen7

  • Loading branch information...
1 parent 01d28c1 commit 00690f7ffd5bc06d851abd373fc4925e05d138c4 @ErikZalm committed Feb 23, 2012
View
BIN Marlin/Debug/CL.read.1.tlog
Binary file not shown.
View
BIN Marlin/Debug/CL.write.1.tlog
Binary file not shown.
View
2 Marlin/Debug/Marlin.lastbuildstate
@@ -1,2 +0,0 @@
-#v4.0:v100
-Debug|Win32|C:\Users\Blair\Desktop\Marlin_v1\Marlin\|
View
1,042 Marlin/Debug/Marlin.log
0 additions, 1,042 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
0 Marlin/Debug/Marlin.unsuccessfulbuild
No changes.
View
BIN Marlin/Debug/cl.command.1.tlog
Binary file not shown.
View
BIN Marlin/Debug/vc100.idb
Binary file not shown.
View
BIN Marlin/Debug/vc100.pdb
Binary file not shown.
View
24 Marlin/Gen7/cores/arduino/pins_arduino.c
@@ -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.
Something went wrong with that request. Please try again.