Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
imrishabh18 committed Nov 6, 2024
1 parent 2f89023 commit 5b939e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import type {
import { getComponentValue } from "lib/utils/get-component-value"
import { getFootprintName } from "lib/utils/get-footprint-name"
import { getPadstackName } from "lib/utils/get-padstack-name"
import type { DsnPcb, ComponentGroup, Padstack } from "../types"
import { applyToPoint, scale } from "transformation-matrix"
import type { ComponentGroup, DsnPcb, Padstack } from "../types"

const transformMmToUm = scale(1000)

Expand Down Expand Up @@ -82,7 +82,7 @@ export function processComponentsAndPads(
}

// Handle padstacks
const padstackName =`${getPadstackName(srcComp?.ftype)}_${srcComp?.source_component_id}`
const padstackName = `${getPadstackName(srcComp?.ftype)}_${srcComp?.source_component_id}`
if (!processedPadstacks.has(padstackName)) {
const padstack = createExactPadstack(padstackName)
pcb.library.padstacks.push(padstack)
Expand Down

0 comments on commit 5b939e9

Please sign in to comment.