Explorar el Código

Fix cast warning in Gen7

Erik van der Zalm hace 13 años
padre
commit
00690f7ffd

BIN
Marlin/Debug/CL.read.1.tlog Ver fichero


BIN
Marlin/Debug/CL.write.1.tlog Ver fichero


+ 0
- 2
Marlin/Debug/Marlin.lastbuildstate Ver fichero

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

+ 0
- 1042
Marlin/Debug/Marlin.log
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 0
- 0
Marlin/Debug/Marlin.unsuccessfulbuild Ver fichero


BIN
Marlin/Debug/cl.command.1.tlog Ver fichero


BIN
Marlin/Debug/vc100.idb Ver fichero


BIN
Marlin/Debug/vc100.pdb Ver fichero


+ 12
- 12
Marlin/Gen7/cores/arduino/pins_arduino.c Ver fichero

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

Loading…
Cancelar
Guardar