swap vs invert endstops
parent
9ab6fa3d81
commit
b5e95f69df
|
@ -133,8 +133,12 @@ export namespace ToolTips {
|
|||
export const ENABLE_ENDSTOPS =
|
||||
trim(`Enable use of electronic end-stops during calibration and homing.`);
|
||||
|
||||
export const SWAP_ENDPOINTS =
|
||||
trim(`Swap axis minimum and maximum end-stops.`);
|
||||
|
||||
export const INVERT_ENDPOINTS =
|
||||
trim(`Swap axis end-stops during calibration.`);
|
||||
trim(`Invert axis end-stops. Enable for normally closed (NC),
|
||||
disable for normally open (NO).`);
|
||||
|
||||
// Hardware Settings: Pin Guard
|
||||
export const PIN_GUARD_PIN_NUMBER =
|
||||
|
|
|
@ -87,8 +87,8 @@ export function EncodersAndEndStops(props: EncodersProps) {
|
|||
dispatch={dispatch}
|
||||
sourceFwConfig={sourceFwConfig} />
|
||||
<BooleanMCUInputGroup
|
||||
name={t("Invert Endstops")}
|
||||
tooltip={ToolTips.INVERT_ENDPOINTS}
|
||||
name={t("Swap Endstops")}
|
||||
tooltip={ToolTips.SWAP_ENDPOINTS}
|
||||
x={"movement_invert_endpoints_x"}
|
||||
y={"movement_invert_endpoints_y"}
|
||||
z={"movement_invert_endpoints_z"}
|
||||
|
@ -99,6 +99,19 @@ export function EncodersAndEndStops(props: EncodersProps) {
|
|||
}}
|
||||
dispatch={dispatch}
|
||||
sourceFwConfig={sourceFwConfig} />
|
||||
<BooleanMCUInputGroup
|
||||
name={t("Invert Endstops")}
|
||||
tooltip={ToolTips.INVERT_ENDPOINTS}
|
||||
x={"movement_invert_2_endpoints_x"}
|
||||
y={"movement_invert_2_endpoints_y"}
|
||||
z={"movement_invert_2_endpoints_z"}
|
||||
grayscale={{
|
||||
x: !sourceFwConfig("movement_enable_endpoints_x").value,
|
||||
y: !sourceFwConfig("movement_enable_endpoints_y").value,
|
||||
z: !sourceFwConfig("movement_enable_endpoints_z").value
|
||||
}}
|
||||
dispatch={dispatch}
|
||||
sourceFwConfig={sourceFwConfig} />
|
||||
</Collapse>
|
||||
</section>;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue