BARICUDA valve pressure consistently uint8_t

master
Scott Lahteine 8 years ago
parent 4d98e3f0a7
commit 72de280c1e

@ -362,8 +362,7 @@ extern float soft_endstop_min[XYZ], soft_endstop_max[XYZ];
#endif
#if ENABLED(BARICUDA)
extern int baricuda_valve_pressure;
extern int baricuda_e_to_p_pressure;
extern uint8_t baricuda_valve_pressure, baricuda_e_to_p_pressure;
#endif
#if ENABLED(FILAMENT_WIDTH_SENSOR)

@ -561,8 +561,8 @@ static uint8_t target_extruder;
#endif
#if ENABLED(BARICUDA)
int baricuda_valve_pressure = 0;
int baricuda_e_to_p_pressure = 0;
uint8_t baricuda_valve_pressure = 0,
baricuda_e_to_p_pressure = 0;
#endif
#if ENABLED(FWRETRACT)

@ -409,10 +409,10 @@ void Planner::check_axes_activity() {
#if ENABLED(BARICUDA)
#if HAS_HEATER_1
unsigned char tail_valve_pressure = baricuda_valve_pressure;
uint8_t tail_valve_pressure = baricuda_valve_pressure;
#endif
#if HAS_HEATER_2
unsigned char tail_e_to_p_pressure = baricuda_e_to_p_pressure;
uint8_t tail_e_to_p_pressure = baricuda_e_to_p_pressure;
#endif
#endif

@ -121,7 +121,7 @@ typedef struct {
#endif
#if ENABLED(BARICUDA)
uint32_t valve_pressure, e_to_p_pressure;
uint8_t valve_pressure, e_to_p_pressure;
#endif
uint32_t segment_time;

Loading…
Cancel
Save