diff --git a/src/components/equipments/MotherBoard.vue b/src/components/equipments/MotherBoard.vue index f95fcb9..c8c65d3 100644 --- a/src/components/equipments/MotherBoard.vue +++ b/src/components/equipments/MotherBoard.vue @@ -1,31 +1,45 @@ diff --git a/src/components/equipments/MotherBoardCaps.vue b/src/components/equipments/MotherBoardCaps.vue index e7fce0d..1d14d34 100644 --- a/src/components/equipments/MotherBoardCaps.vue +++ b/src/components/equipments/MotherBoardCaps.vue @@ -9,20 +9,7 @@ IDCode: 0x{{ jtagIDCode.toString(16).padStart(8, "0").toUpperCase() }}

@@ -102,10 +89,9 @@ import UploadCard from "@/components/UploadCard.vue"; import { useDialogStore } from "@/stores/dialog"; import { useEquipments } from "@/stores/equipments"; import { computed, ref, watchEffect } from "vue"; +import { RefreshCcwIcon } from "lucide-vue-next"; interface CapsProps { - jtagAddr?: string; - jtagPort?: number; jtagFreq?: string; } @@ -179,11 +165,6 @@ async function toggleJtagBoundaryScan() { async function getIDCode(isQuiet: boolean = false) { jtagIDCode.value = await eqps.jtagGetIDCode(isQuiet); } - -watchEffect(async () => { - if (eqps.setAddr(props.jtagAddr) && eqps.setPort(props.jtagPort)) - getIDCode(true); -});