From: Keith Packard Date: Mon, 15 Jul 2013 22:25:20 +0000 (-0700) Subject: Change LPH footprint to use just pins 1 and 2 X-Git-Tag: telelco-v3.0~865 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ba2e4946ce9f9abef7f64c62e74ccc4d76b19556;p=hw%2Faltusmetrum 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 --- 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); }