From 56081e47864b0fe2d7caf9ddcf2cb7a94f3fe199 Mon Sep 17 00:00:00 2001 From: Mitch Bradley Date: Fri, 2 Jul 2021 18:41:23 -1000 Subject: [PATCH] Axis step factors are back to float per phorton1 --- Grbl_Esp32/src/Machine/Axis.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Grbl_Esp32/src/Machine/Axis.h b/Grbl_Esp32/src/Machine/Axis.h index cc2761f4..66cace76 100644 --- a/Grbl_Esp32/src/Machine/Axis.h +++ b/Grbl_Esp32/src/Machine/Axis.h @@ -39,11 +39,11 @@ namespace Machine { Gang* _gangs[MAX_NUMBER_GANGED]; Homing* _homing = nullptr; - int _stepsPerMm = 320; - int _maxRate = 1000; - int _acceleration = 25; - int _maxTravel = 200; - bool _softLimits = false; + float _stepsPerMm = 320.0f; + float _maxRate = 1000.0f; + float _acceleration = 25.0f; + float _maxTravel = 200.0f; + bool _softLimits = false; // Configuration system helpers: void group(Configuration::HandlerBase& handler) override;