footprint wizards: fix for my previous commit 50502c4
This commit is contained in:
parent
50502c450f
commit
725c2fd661
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue