BARICUDA valve pressure consistently uint8_t

2.0.x
Scott Lahteine 8 years ago
parent 4d98e3f0a7
commit 72de280c1e

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

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

@ -409,10 +409,10 @@ void Planner::check_axes_activity() {
#if ENABLED(BARICUDA) #if ENABLED(BARICUDA)
#if HAS_HEATER_1 #if HAS_HEATER_1
unsigned char tail_valve_pressure = baricuda_valve_pressure; uint8_t tail_valve_pressure = baricuda_valve_pressure;
#endif #endif
#if HAS_HEATER_2 #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
#endif #endif

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

Loading…
Cancel
Save