Skip to content

Commit bf0a01a

Browse files
authored
Merge pull request #706 from Expatria-Technologies/PR_Fast_Semiauto_fix
Fix settings issue with selecting fast semi-auto.
2 parents 808d224 + e86932b commit bf0a01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ static status_code_t set_probe_flags (setting_id_t id, uint_fast16_t int_value)
10171017

10181018
static status_code_t set_tool_change_mode (setting_id_t id, uint_fast16_t int_value)
10191019
{
1020-
if(!hal.driver_cap.atc && hal.stream.suspend_read && int_value <= ToolChange_Ignore) {
1020+
if(!hal.driver_cap.atc && hal.stream.suspend_read && int_value <= ToolChange_FastSemiAutomatic) {
10211021
#if COMPATIBILITY_LEVEL > 1
10221022
if((toolchange_mode_t)int_value == ToolChange_Manual_G59_3 || (toolchange_mode_t)int_value == ToolChange_SemiAutomatic || (toolchange_mode_t)int_value == ToolChange_FastSemiAutomatic)
10231023
return Status_InvalidStatement;

0 commit comments

Comments
 (0)