diff --git a/electron/src/machines/properties.ts b/electron/src/machines/properties.ts index c8dd6423..cf0d6578 100644 --- a/electron/src/machines/properties.ts +++ b/electron/src/machines/properties.ts @@ -492,6 +492,11 @@ export const gluetex: MachineProperties = { product_id: 0x1b773052, revision: 0x190000, }, + { + vendor_id: 2, + product_id: 0x1b773052, + revision: 0x10001e, + }, ], }, { @@ -508,6 +513,11 @@ export const gluetex: MachineProperties = { product_id: 0x1b773052, revision: 0x190000, }, + { + vendor_id: 2, + product_id: 0x1b773052, + revision: 0x10001e, + }, ], }, { @@ -524,6 +534,11 @@ export const gluetex: MachineProperties = { product_id: 0x1b773052, revision: 0x190000, }, + { + vendor_id: 2, + product_id: 0x1b773052, + revision: 0x10001e, + }, ], }, ], diff --git a/electron/src/setup/DeviceEepromDialog.tsx b/electron/src/setup/DeviceEepromDialog.tsx index 1f889516..fedbda8c 100644 --- a/electron/src/setup/DeviceEepromDialog.tsx +++ b/electron/src/setup/DeviceEepromDialog.tsx @@ -147,7 +147,7 @@ export function DeviceEeepromDialogContent({ device, setOpen }: ContentProps) { device.revision, machinePreset?.device_roles, ), - [device.product_id, device.revision, machinePreset], + [device.vendor_id, device.product_id, device.revision, machinePreset], ); // if there is only one allowed role, set the role to that immediately @@ -163,7 +163,10 @@ export function DeviceEeepromDialogContent({ device, setOpen }: ContentProps) { ); // set the device role using the actual role number, not the index if (machinePreset && machinePreset.device_roles[index]) { - form.setValue("role", machinePreset.device_roles[index].role.toString()); + form.setValue( + "role", + machinePreset.device_roles[index].role.toString(), + ); } } }, [filteredAllowedDevices, machinePreset, form]); @@ -236,7 +239,7 @@ export function DeviceEeepromDialogContent({ device, setOpen }: ContentProps) { Device Role -