Tweak some lambdas
This commit is contained in:
@ -103,7 +103,7 @@ void _man_probe_pt(const xy_pos_t &xy) {
|
||||
#endif
|
||||
|
||||
void lcd_delta_settings() {
|
||||
auto _recalc_delta_settings = []() {
|
||||
auto _recalc_delta_settings = []{
|
||||
#if HAS_LEVELING
|
||||
reset_bed_level(); // After changing kinematics bed-level data is no longer valid
|
||||
#endif
|
||||
|
@ -227,7 +227,7 @@ millis_t MarlinUI::next_button_update_ms; // = 0
|
||||
SETCURSOR(col, row);
|
||||
if (!string) return;
|
||||
|
||||
auto _newline = [&col, &row]() {
|
||||
auto _newline = [&col, &row]{
|
||||
col = 0; row++; // Move col to string len (plus space)
|
||||
SETCURSOR(0, row); // Simulate carriage return
|
||||
};
|
||||
|
Reference in New Issue
Block a user