Fixed casting warning in sanguino
This commit is contained in:
parent
2fd8c248fe
commit
01d28c18ab
@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
// Actual temperature must be close to target for this long before M109 returns success
|
// Actual temperature must be close to target for this long before M109 returns success
|
||||||
#define TEMP_RESIDENCY_TIME 10 // 30 // (seconds) 30 seconds was too long
|
#define TEMP_RESIDENCY_TIME 10 // 30 // (seconds) 30 seconds was too long
|
||||||
#define TEMP_HYSTERESIS 3 // (C<EFBFBD>) range of +/- temperatures considered "close" to the target one
|
#define TEMP_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one
|
||||||
|
|
||||||
// The minimal temperature defines the temperature below which the heater will not be enabled It is used
|
// The minimal temperature defines the temperature below which the heater will not be enabled It is used
|
||||||
// to check that the wiring to the thermistor is not broken.
|
// to check that the wiring to the thermistor is not broken.
|
||||||
|
@ -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[] =
|
||||||
|
Loading…
Reference in New Issue
Block a user