footprint wizards: fix for my previous commit 50502c4

This commit is contained in:
jean-pierre charras 2023-04-16 17:16:54 +02:00
parent 50502c450f
commit 725c2fd661
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ class RowedFootprint(FootprintWizardBase.FootprintWizard):
# set the attribute
if self.GetName() == "S-DIP":
self.module.SetAttributes(pcbnew.FP_PTH)
self.module.SetAttributes(pcbnew.FP_THROUGH_HOLE)
elif self.GetName() == "SOIC":
self.module.SetAttributes(pcbnew.FP_SMD)

View File

@ -113,7 +113,7 @@ class RowedFootprint(FootprintWizardBase.FootprintWizard):
# set SMD attribute
if self.GetName() == "ZIP":
self.module.SetAttributes(pcbnew.FP_PTH)
self.module.SetAttributes(pcbnew.FP_THROUGH_HOLE)
elif self.GetName() == "ZOIC":
self.module.SetAttributes(pcbnew.FP_SMD)