Fix LA_active_extruder (static)

This commit is contained in:
Scott Lahteine
2018-03-07 05:49:10 -06:00
parent e5ec793f7e
commit 9515e5aefb
2 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ class Stepper {
#if E_STEPPERS > 1
static int8_t LA_active_extruder; // Copy from current executed block. Needed because current_block is set to NULL "too early".
#else
constexpr int8_t LA_active_extruder = 0;
static constexpr int8_t LA_active_extruder = 0;
#endif
#else // !LIN_ADVANCE