Skip to content

Commit

Permalink
Fix lambda missing capture (MarlinFirmware#14969)
Browse files Browse the repository at this point in the history
  • Loading branch information
xC0000005 authored and thinkyhead committed Aug 17, 2019
1 parent 66bfad3 commit fecf808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui_malyan_lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ void process_lcd_eb_command(const char* command) {
* X, Y, Z, A (extruder)
*/
void process_lcd_j_command(const char* command) {
auto move_axis = [](const auto axis) {
auto move_axis = [command](const auto axis) {
const float dist = atof(command + 1) / 10.0;
ExtUI::setAxisPosition_mm(ExtUI::getAxisPosition_mm(axis) + dist, axis);
}
Expand Down

0 comments on commit fecf808

Please sign in to comment.