Skip to content

Commit

Permalink
const
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 9, 2021
1 parent 6bd2b00 commit 10d0bbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/lcd/extui/ui_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,15 +317,15 @@ namespace ExtUI {
float getPIDValues_Ki(const extruder_t);
float getPIDValues_Kd(const extruder_t);
void setPIDValues(const_float_t, const_float_t , const_float_t , extruder_t);
void startPIDTune(celsius_t, extruder_t);
void startPIDTune(const celsius_t, extruder_t);
#endif

#if ENABLED(PIDTEMPBED)
float getBedPIDValues_Kp();
float getBedPIDValues_Ki();
float getBedPIDValues_Kd();
void setBedPIDValues(const_float_t, const_float_t , const_float_t);
void startBedPIDTune(celsius_t);
void startBedPIDTune(const celsius_t);
#endif

/**
Expand Down
7 changes: 2 additions & 5 deletions Marlin/src/lcd/marlinui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1286,10 +1286,6 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;

#endif // HAS_WIRED_LCD

#if EITHER(HAS_LCD_MENU, EXTENSIBLE_UI)
bool MarlinUI::lcd_clicked;
#endif

#if HAS_STATUS_MESSAGE

////////////////////////////////////////////
Expand Down Expand Up @@ -1666,6 +1662,7 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
#endif

#if BOTH(EXTENSIBLE_UI, ADVANCED_PAUSE_FEATURE)

void MarlinUI::pause_show_message(
const PauseMessage message,
const PauseMode mode/*=PAUSE_MODE_SAME*/,
Expand Down Expand Up @@ -1694,8 +1691,8 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
case PAUSE_MESSAGE_STATUS:
default: break;
}

}

#endif

#if ENABLED(EEPROM_SETTINGS)
Expand Down

0 comments on commit 10d0bbc

Please sign in to comment.