Skip to content

Commit

Permalink
dip: Revert pad x-offset to package width
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn committed Jul 16, 2022
1 parent d4085da commit 12f8493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_dip.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def add_footprint_variant(key: str, name: str, pad_size: Tuple[float, float]) ->
)

# Pads
pad_x_offset = float(config.lead_span) / 2
pad_x_offset = float(config.body_width) / 2
for p in range(1, pin_count // 2 + 1):
# Down on the left
y = get_y(p, pin_count // 2, pitch, False)
Expand Down

0 comments on commit 12f8493

Please sign in to comment.