From b4554af64f37c133d99d4c41d322b78401a9e5b9 Mon Sep 17 00:00:00 2001 From: Marco Massarelli <60667061+ceoloide@users.noreply.github.com> Date: Sun, 28 Jan 2024 19:53:13 -0500 Subject: [PATCH] Fix wrong parameter references --- ergogen/footprints/mounting_hole_npth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ergogen/footprints/mounting_hole_npth.js b/ergogen/footprints/mounting_hole_npth.js index f9b6318..27e6d95 100644 --- a/ergogen/footprints/mounting_hole_npth.js +++ b/ergogen/footprints/mounting_hole_npth.js @@ -30,7 +30,7 @@ module.exports = { (module "ceoloide/mounting_hole_npth" (layer ${p.side}.Cu) (tedit 5F1B9159) ${p.at /* parametric position */} (fp_text reference "${p.ref}" (at 0 2.55) (layer ${p.side}.SilkS) ${p.ref_hide} (effects (font (size 1 1) (thickness 0.15)))) - (pad "" np_thru_hole circle (at 0 0) (size ${p.size} ${p.size}) (drill ${p.drill}) (layers *.Cu *.Mask)) + (pad "" np_thru_hole circle (at 0 0) (size ${p.hole_size} ${p.hole_size}) (drill ${p.hole_drill}) (layers *.Cu *.Mask)) ) ` -} \ No newline at end of file +}