Comment, improve filament width sensor

This commit is contained in:
Scott Lahteine 2017-12-13 02:15:21 -06:00
parent 7c1adff8ad
commit 8519451161
8 changed files with 69 additions and 48 deletions

View file

@ -289,6 +289,10 @@ class Planner {
// Update multipliers based on new diameter measurements
static void calculate_volumetric_multipliers();
#if ENABLED(FILAMENT_WIDTH_SENSOR)
void calculate_volumetric_for_width_sensor(const int8_t encoded_ratio);
#endif
FORCE_INLINE static void set_filament_size(const uint8_t e, const float &v) {
filament_size[e] = v;
// make sure all extruders have some sane value for the filament size