From ba2e4946ce9f9abef7f64c62e74ccc4d76b19556 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 15 Jul 2013 15:25:20 -0700 Subject: [PATCH] Change LPH footprint to use just pins 1 and 2 No reason to label all four pins when they're internally connected Signed-off-by: Keith Packard --- packages/switches/lph.5c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/switches/lph.5c b/packages/switches/lph.5c index 0921093..e3e7b2e 100644 --- a/packages/switches/lph.5c +++ b/packages/switches/lph.5c @@ -29,9 +29,9 @@ element_start("lph"); for (int y = 0; y < 2; y++) for (int x = 0; x < 2; x++) { - int pin = (x + y * 2) + 1; + int pin = y + 1; string pin_name = sprintf ("%d", pin); - string options = pin == 1 ? "square" : ""; + string options = ""; pin_mm_options (x * hole_space_x - hole_space_x/2, y * hole_space_y - hole_space_y/2, hole_diameter, hole_copper, pin_name, pin_name, options); } -- 2.47.2