Fix to runout sensor code. (#12431)

- "old_state" is no longer a class static variable.
2.0.x
Marcio Teixeira 6 years ago committed by Scott Lahteine
parent d82c350de7
commit 5e586a6b39

@ -44,8 +44,7 @@ void FilamentSensorBase::filament_present(const uint8_t extruder) {
}
#if ENABLED(FILAMENT_MOTION_SENSOR)
uint8_t FilamentSensorEncoder::motion_detected,
FilamentSensorEncoder::old_state; // = 0
uint8_t FilamentSensorEncoder::motion_detected;
#endif
#if FILAMENT_RUNOUT_DISTANCE_MM > 0

Loading…
Cancel
Save