diff options
author | David Crocker <dcrocker@eschertech.com> | 2017-12-20 22:36:07 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2017-12-20 22:36:07 +0300 |
commit | 51b64dfeac44ce1e11299df66672eae1bb83d4a0 (patch) | |
tree | 52a6072aafaf7d246751058fa8f639a31e8f5b7c /src/Platform.h | |
parent | 4475f9beb2e3d83ae65cb2d8fb540f7b5842c461 (diff) |
Version 1.20RC4
Added P31 parameter to M500 command
Diffstat (limited to 'src/Platform.h')
-rw-r--r-- | src/Platform.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Platform.h b/src/Platform.h index 9105f05b..9f7dc46c 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -482,7 +482,7 @@ public: const ZProbeParameters& GetCurrentZProbeParameters() const { return GetZProbeParameters(zProbeType); } void SetZProbeParameters(int32_t probeType, const struct ZProbeParameters& params); bool HomingZWithProbe() const; - bool WritePlatformParameters(FileStore *f) const; + bool WritePlatformParameters(FileStore *f, bool includingG31) const; void SetProbing(bool isProbing); bool ProgramZProbe(GCodeBuffer& gb, StringRef& reply); void SetZProbeModState(bool b) const; @@ -717,20 +717,20 @@ private: float driveStepsPerUnit[DRIVES]; float instantDvs[DRIVES]; float pressureAdvance[MaxExtruders]; - float motorCurrents[DRIVES]; // the normal motor current for each stepper driver - float motorCurrentFraction[DRIVES]; // the percentages of normal motor current that each driver is set to + float motorCurrents[DRIVES]; // the normal motor current for each stepper driver + float motorCurrentFraction[DRIVES]; // the percentages of normal motor current that each driver is set to #if HAS_SMART_DRIVERS float motorStandstillCurrentFraction[DRIVES]; #endif - AxisDriversConfig axisDrivers[MaxAxes]; // the driver numbers assigned to each axis - uint8_t extruderDrivers[MaxExtruders]; // the driver number assigned to each extruder - uint32_t driveDriverBits[2 * DRIVES]; // the bitmap of driver port bits for each axis or extruder, followed by the raw versions - uint32_t slowDriverStepPulseClocks; // minimum high and low step pulse widths, in processor clocks - uint32_t slowDrivers; // bitmap of driver port bits that need extended step pulse timing + AxisDriversConfig axisDrivers[MaxAxes]; // the driver numbers assigned to each axis + uint8_t extruderDrivers[MaxExtruders]; // the driver number assigned to each extruder + uint32_t driveDriverBits[2 * DRIVES]; // the bitmap of driver port bits for each axis or extruder, followed by the raw versions + uint32_t slowDriverStepPulseClocks; // minimum high and low step pulse widths, in processor clocks + uint32_t slowDrivers; // bitmap of driver port bits that need extended step pulse timing float idleCurrentFactor; #if HAS_SMART_DRIVERS - size_t numSmartDrivers; // the number of TMC2660 drivers we have, the remaining are simple enable/step/dir drivers + size_t numSmartDrivers; // the number of TMC2660 drivers we have, the remaining are simple enable/step/dir drivers DriversBitmap temperatureShutdownDrivers, temperatureWarningDrivers, shortToGroundDrivers, openLoadDrivers; uint8_t nextDriveToPoll; bool driversPowered; |