mirror of
https://github.com/grblHAL/core.git
synced 2026-03-23 20:54:26 +08:00
Fix for transposed options in $41 - parking cycle enable.
This commit is contained in:
@@ -933,6 +933,9 @@ static status_code_t set_parking_enable (setting_id_t id, uint_fast16_t int_valu
|
||||
{
|
||||
settings.parking.flags.value = bit_istrue(int_value, bit(0)) ? (int_value & 0x07) : 0;
|
||||
|
||||
if(settings.parking.flags.deactivate_upon_init)
|
||||
settings.parking.flags.enable_override_control = On;
|
||||
|
||||
return Status_OK;
|
||||
}
|
||||
|
||||
@@ -2059,7 +2062,7 @@ PROGMEM static const setting_detail_t setting_detail[] = {
|
||||
{ Setting_SpindlePPR, Group_Spindle, "Spindle pulses per revolution (PPR)", NULL, Format_Int16, "###0", NULL, NULL, Setting_IsExtended, &settings.spindle.ppr, NULL, is_setting_available, { .reboot_required = On } },
|
||||
{ Setting_EnableLegacyRTCommands, Group_General, "Enable legacy RT commands", NULL, Format_Bool, NULL, NULL, NULL, Setting_IsExtendedFn, set_enable_legacy_rt_commands, get_int, NULL },
|
||||
{ Setting_JogSoftLimited, Group_Jogging, "Limit jog commands", NULL, Format_Bool, NULL, NULL, NULL, Setting_IsExtendedFn, set_jog_soft_limited, get_int, NULL },
|
||||
{ Setting_ParkingEnable, Group_SafetyDoor, "Parking cycle", NULL, Format_XBitfield, "Enable,Enable parking override control,Deactivate upon init", NULL, NULL, Setting_IsExtendedFn, set_parking_enable, get_int, NULL },
|
||||
{ Setting_ParkingEnable, Group_SafetyDoor, "Parking cycle", NULL, Format_XBitfield, "Enable,Deactivate upon init,Enable parking override control", NULL, NULL, Setting_IsExtendedFn, set_parking_enable, get_int, NULL },
|
||||
{ Setting_ParkingAxis, Group_SafetyDoor, "Parking axis", NULL, Format_RadioButtons, "X,Y,Z", NULL, NULL, Setting_IsExtended, &settings.parking.axis, NULL, NULL },
|
||||
{ Setting_HomingLocateCycles, Group_Homing, "Homing passes", NULL, Format_Int8, "##0", "1", "128", Setting_IsExtended, &settings.homing.locate_cycles, NULL, NULL },
|
||||
{ Setting_HomingCycle_1, Group_Homing, "Axes homing, first pass", NULL, Format_AxisMask, NULL, NULL, NULL, Setting_IsExtendedFn, set_homing_cycle, get_int, NULL },
|
||||
@@ -2333,8 +2336,8 @@ PROGMEM static const setting_descr_t setting_descr[] = {
|
||||
{ Settings_RotaryAxes, "Designates axes as rotary, interpretation some other relevant axis settings is changed accordingly." },
|
||||
#endif
|
||||
#ifndef NO_SAFETY_DOOR_SUPPORT
|
||||
{ Setting_DoorSpindleOnDelay, "Delay to allow spindle to spin up after safety door is opened." },
|
||||
{ Setting_DoorCoolantOnDelay, "Delay to allow coolant to restart after safety door is opened." },
|
||||
{ Setting_DoorSpindleOnDelay, "Delay to allow spindle to spin up after safety door is closed or on resume from park." },
|
||||
{ Setting_DoorCoolantOnDelay, "Delay to allow coolant to restart after safety door is closed or on resume from park." },
|
||||
#endif
|
||||
{ Setting_SpindleOnDelay, "Delay to allow spindle to spin up. 0 or 0.5 - 20s\\n"
|
||||
"If spindle supports \"at speed\" functionality it is the time to wait before alarm 14 is raised."
|
||||
|
||||
Reference in New Issue
Block a user