diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-02-12 23:51:56 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-02-12 23:51:56 +0300 |
commit | 9885ed7cc55cb19fde1be14c8adfd11dfa7f86cf (patch) | |
tree | 43f81c1a73028b5ecc516854c20601d63d0f119e /src/Configuration.h | |
parent | d27f0a701c84fe1fcf4dc99c067b1fc38cd90f91 (diff) |
Refactored GP inputs
Diffstat (limited to 'src/Configuration.h')
-rw-r--r-- | src/Configuration.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Configuration.h b/src/Configuration.h index 327719ee..d379c873 100644 --- a/src/Configuration.h +++ b/src/Configuration.h @@ -59,6 +59,7 @@ constexpr uint32_t MinimumWarningInterval = 4000; // Milliseconds, must be at l constexpr uint32_t LogFlushInterval = 15000; // Milliseconds constexpr uint32_t DriverCoolingTimeout = 4000; // Milliseconds constexpr float DefaultMessageTimeout = 10.0; // How long a message is displayed by default, in seconds +constexpr uint16_t MinimumGpinReportInterval = 30; // Minimum interval between input change reports sent over CAN bus constexpr uint32_t MinimumOpenLoadFullStepsPerSec = 20; // this is 4mm/sec @ 80steps/mm @@ -132,10 +133,6 @@ constexpr PwmFrequency ServoRefreshFrequency = 50; constexpr float DefaultMinFanPwm = 0.1; // minimum fan PWM constexpr uint32_t DefaultFanBlipTime = 100; // fan blip time in milliseconds -// M577 and M581 -constexpr unsigned int MaxM577Ports = 4; -constexpr unsigned int MaxPortsPerTrigger = 4; - // Conditional GCode support constexpr unsigned int MaxBlockIndent = 10; // maximum indentation of GCode. Each level of indentation introduced a new block. @@ -290,7 +287,6 @@ constexpr float FILAMENT_WIDTH = 1.75; // Millimetres constexpr unsigned int MaxStackDepth = 5; // Maximum depth of stack // CNC and laser support -constexpr size_t MaxSpindles = 4; // Maximum number of configurable spindles constexpr float DefaultMaxSpindleRpm = 10000; // Default spindle RPM at full PWM constexpr float DefaultMaxLaserPower = 255.0; // Power setting in M3 command for full power constexpr uint32_t LaserPwmIntervalMillis = 5; // Interval (ms) between adjusting the laser PWM during acceleration or deceleration |