diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-09-07 23:22:02 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-09-07 23:22:02 +0300 |
commit | 1429f4d9182194ba94b83d8ded08b3e9fd8336f5 (patch) | |
tree | 2426deb2eefff6ac8d3921cf929a8be0fff1465a /src/GCodes/RestorePoint.h | |
parent | 6f8df700605a5f139130cf4a8b5718b1c8190656 (diff) |
Reworked Spindle code + network bug fix
Spindle RPMs are now integers not floats
Spindles now have PWM, on/off and reverse/forward ports
Spindle PWM frequency parameter is now Q not F
A minimum RPM can now be specified as well as a maximum RPM
Call InitStatic functions of network responder classes in Network::Init
so that calls to the responder Disable functions can be made
Diffstat (limited to 'src/GCodes/RestorePoint.h')
-rw-r--r-- | src/GCodes/RestorePoint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/RestorePoint.h b/src/GCodes/RestorePoint.h index bbbb51d7..ea24378b 100644 --- a/src/GCodes/RestorePoint.h +++ b/src/GCodes/RestorePoint.h @@ -21,7 +21,7 @@ public: FilePosition filePos; // The file position that this move was read from float initialUserX, initialUserY; // If we paused during an arc move and proportionDone is nonzero, the X and Y user coordinates at the start of the move int toolNumber; // The tool number that was active - float spindleSpeeds[MaxSpindles]; // The spindle RPMs that were set, negative if anticlockwise direction + int32_t spindleSpeeds[MaxSpindles]; // The spindle RPMs that were set, negative if anticlockwise direction #if SUPPORT_LASER || SUPPORT_IOBITS LaserPwmOrIoBits laserPwmOrIoBits; // The output port bits setting for this move, or the laser power |