Export more in ultralcd.h
Closer parity with 2.0.x
This commit is contained in:
parent
56d5c5b97a
commit
5054c53901
4 changed files with 30 additions and 37 deletions
|
|
@ -156,10 +156,6 @@ uint16_t max_display_update_time = 0;
|
|||
#define TALL_FONT_CORRECTION 0
|
||||
#endif
|
||||
|
||||
// Function pointer to menu functions.
|
||||
typedef void (*screenFunc_t)();
|
||||
typedef void (*menuAction_t)();
|
||||
|
||||
#if HAS_POWER_SWITCH
|
||||
extern bool powersupply_on;
|
||||
#endif
|
||||
|
|
@ -1200,7 +1196,7 @@ void kill_screen(const char* lcd_msg) {
|
|||
return mesh_edit_value;
|
||||
}
|
||||
|
||||
void lcd_mesh_edit_setup(const float initial) {
|
||||
void lcd_mesh_edit_setup(const float &initial) {
|
||||
mesh_edit_value = mesh_edit_accumulator = initial;
|
||||
lcd_goto_screen(_lcd_mesh_edit_NOP);
|
||||
}
|
||||
|
|
@ -1214,7 +1210,7 @@ void kill_screen(const char* lcd_msg) {
|
|||
return mesh_edit_value;
|
||||
}
|
||||
|
||||
void lcd_z_offset_edit_setup(float initial) {
|
||||
void lcd_z_offset_edit_setup(const float &initial) {
|
||||
mesh_edit_value = mesh_edit_accumulator = initial;
|
||||
lcd_goto_screen(_lcd_z_offset_edit);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue