mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
General cleanup, apply const
This commit is contained in:
parent
da93a272a0
commit
8e808fcadc
@ -10509,13 +10509,13 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
||||
+ (tmp_extruder == 0 ? -(PARKING_EXTRUDER_GRAB_DISTANCE) : PARKING_EXTRUDER_GRAB_DISTANCE);
|
||||
/**
|
||||
* Steps:
|
||||
* 1. raise Z-Axis to have enough clearance
|
||||
* 2. move to park poition of old extruder
|
||||
* 3. disengage magnetc field, wait for delay
|
||||
* 4. move near new extruder
|
||||
* 5. engage magnetic field for new extruder
|
||||
* 6. move to parking incl. offset of new extruder
|
||||
* 7. lower Z-Axis
|
||||
* 1. Raise Z-Axis to give enough clearance
|
||||
* 2. Move to park position of old extruder
|
||||
* 3. Disengage magnetic field, wait for delay
|
||||
* 4. Move near new extruder
|
||||
* 5. Engage magnetic field for new extruder
|
||||
* 6. Move to parking incl. offset of new extruder
|
||||
* 7. Lower Z-Axis
|
||||
*/
|
||||
|
||||
// STEP 1
|
||||
@ -10797,7 +10797,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
||||
* F[units/min] Set the movement feedrate
|
||||
* S1 Don't move the tool in XY after change
|
||||
*/
|
||||
inline void gcode_T(uint8_t tmp_extruder) {
|
||||
inline void gcode_T(const uint8_t tmp_extruder) {
|
||||
|
||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||
if (DEBUGGING(LEVELING)) {
|
||||
|
@ -1145,9 +1145,9 @@ static void lcd_implementation_status_screen() {
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
coordinate pixel_location(uint8_t x, uint8_t y) { return pixel_location((int16_t)x, (int16_t)y); }
|
||||
inline coordinate pixel_location(const uint8_t x, const uint8_t y) { return pixel_location((int16_t)x, (int16_t)y); }
|
||||
|
||||
void lcd_implementation_ubl_plot(uint8_t x, uint8_t inverted_y) {
|
||||
void lcd_implementation_ubl_plot(const uint8_t x, const uint8_t inverted_y) {
|
||||
|
||||
#if LCD_WIDTH >= 20
|
||||
#define _LCD_W_POS 12
|
||||
|
Loading…
Reference in New Issue
Block a user