Skip to content

Commit

Permalink
[Bugfix] Fixed tests and examples for API change
Browse files Browse the repository at this point in the history
  • Loading branch information
callendorph committed Sep 30, 2024
1 parent 3436dea commit c8578fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/landpatterns/SMT.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pcb-component test-SMT (case:String):
[p[2] | p[2] | Down | 0]

assign-symbol(test-sym)
val pkg = get-resistor-pkg(case, DensityLevelC)
val pkg = get-resistor-pkg(case, density-level = DensityLevelC)

val lp = create-landpattern(pkg)
assign-landpattern(lp)
Expand Down
4 changes: 2 additions & 2 deletions tests/landpatterns/two-pin/SMT.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ deftest(two-pin) test-resistor-smt :

deftest(two-pin) test-capacitor-smt :

val pkg = get-capacitor-pkg("1206", DensityLevelB)
val pkg = get-capacitor-pkg("1206", density-level = DensityLevelB)

val lp = create-landpattern(pkg)
val grid = PadGrid(lp)
Expand All @@ -189,7 +189,7 @@ deftest(two-pin) test-capacitor-smt :

deftest(two-pin) test-capacitor-smt-with-pose:

val pkg = get-capacitor-pkg("1206", DensityLevelB)
val pkg = get-capacitor-pkg("1206", density-level = DensityLevelB)

val lp = create-landpattern(pkg, pose = loc(-0.5, 0.0))
val grid = PadGrid(lp)
Expand Down

0 comments on commit c8578fa

Please sign in to comment.