Fix M301 access to lpq_len (#10714)

Co-Authored-By: Zwaubel
This commit is contained in:
Scott Lahteine
2018-05-12 02:13:40 -05:00
committed by GitHub
parent 1b225a2809
commit 625035a9ce
6 changed files with 24 additions and 19 deletions

View File

@@ -207,10 +207,6 @@ extern millis_t max_inactive_time, stepper_inactive_time;
extern uint8_t controllerFanSpeed;
#endif
#if ENABLED(PID_EXTRUSION_SCALING)
extern int lpq_len;
#endif
#if HAS_POWER_SWITCH
extern bool powersupply_on;
#define PSU_PIN_ON() do{ OUT_WRITE(PS_ON_PIN, PS_ON_AWAKE); powersupply_on = true; }while(0)