Set an extrusion factor
| 5746 | |
| 5747 | // Set an extrusion factor |
| 5748 | void GCodes::SetExtrusionFactor(size_t extruder, float factor) noexcept |
| 5749 | { |
| 5750 | if (extruder < numExtruders) |
| 5751 | { |
| 5752 | extrusionFactors[extruder] = constrain<float>(factor, 0.0, 2.0); |
| 5753 | } |
| 5754 | } |
| 5755 | |
| 5756 | // Process a GCode command from the 12864 LCD returning true if the command was accepted |
| 5757 | bool GCodes::ProcessCommandFromLcd(const char *_ecv_array cmd) noexcept |