|
@@ -346,8 +346,8 @@ static uint8_t target_extruder;
|
346
|
346
|
#endif
|
347
|
347
|
|
348
|
348
|
#if ENABLED(BARICUDA)
|
349
|
|
- int ValvePressure = 0;
|
350
|
|
- int EtoPPressure = 0;
|
|
349
|
+ int baricuda_valve_pressure = 0;
|
|
350
|
+ int baricuda_e_to_p_pressure = 0;
|
351
|
351
|
#endif
|
352
|
352
|
|
353
|
353
|
#if ENABLED(FWRETRACT)
|
|
@@ -4622,22 +4622,22 @@ inline void gcode_M112() { kill(PSTR(MSG_KILLED)); }
|
4622
|
4622
|
/**
|
4623
|
4623
|
* M126: Heater 1 valve open
|
4624
|
4624
|
*/
|
4625
|
|
- inline void gcode_M126() { ValvePressure = code_seen('S') ? constrain(code_value(), 0, 255) : 255; }
|
|
4625
|
+ inline void gcode_M126() { baricuda_valve_pressure = code_seen('S') ? constrain(code_value(), 0, 255) : 255; }
|
4626
|
4626
|
/**
|
4627
|
4627
|
* M127: Heater 1 valve close
|
4628
|
4628
|
*/
|
4629
|
|
- inline void gcode_M127() { ValvePressure = 0; }
|
|
4629
|
+ inline void gcode_M127() { baricuda_valve_pressure = 0; }
|
4630
|
4630
|
#endif
|
4631
|
4631
|
|
4632
|
4632
|
#if HAS_HEATER_2
|
4633
|
4633
|
/**
|
4634
|
4634
|
* M128: Heater 2 valve open
|
4635
|
4635
|
*/
|
4636
|
|
- inline void gcode_M128() { EtoPPressure = code_seen('S') ? constrain(code_value(), 0, 255) : 255; }
|
|
4636
|
+ inline void gcode_M128() { baricuda_e_to_p_pressure = code_seen('S') ? constrain(code_value(), 0, 255) : 255; }
|
4637
|
4637
|
/**
|
4638
|
4638
|
* M129: Heater 2 valve close
|
4639
|
4639
|
*/
|
4640
|
|
- inline void gcode_M129() { EtoPPressure = 0; }
|
|
4640
|
+ inline void gcode_M129() { baricuda_e_to_p_pressure = 0; }
|
4641
|
4641
|
#endif
|
4642
|
4642
|
|
4643
|
4643
|
#endif //BARICUDA
|