mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-02 02:42:36 +02:00
Fixed a few more gets
This commit is contained in:
@@ -59,7 +59,7 @@ namespace Spindles {
|
|||||||
_pwm_max_value = _pwm_period;
|
_pwm_max_value = _pwm_period;
|
||||||
|
|
||||||
_min_rpm = 0;
|
_min_rpm = 0;
|
||||||
_max_rpm = laser_full_power->get();
|
_max_rpm = _laser_full_power;
|
||||||
|
|
||||||
_piecewise_linear = false;
|
_piecewise_linear = false;
|
||||||
|
|
||||||
|
@@ -53,6 +53,8 @@ namespace Spindles {
|
|||||||
_10v _10v;
|
_10v _10v;
|
||||||
|
|
||||||
void Spindle::select() {
|
void Spindle::select() {
|
||||||
|
// TODO FIXME: I don't think we need this anymore; the factory should take care of it...
|
||||||
|
|
||||||
switch (static_cast<SpindleType>(spindle_type->get())) {
|
switch (static_cast<SpindleType>(spindle_type->get())) {
|
||||||
case SpindleType::PWM:
|
case SpindleType::PWM:
|
||||||
spindle = &pwm;
|
spindle = &pwm;
|
||||||
|
Reference in New Issue
Block a user