aboutsummaryrefslogtreecommitdiff
path: root/src/ee/kicad
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee/kicad')
-rw-r--r--src/ee/kicad/doit.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ee/kicad/doit.py b/src/ee/kicad/doit.py
index 1d0a1ed..299d3ce 100644
--- a/src/ee/kicad/doit.py
+++ b/src/ee/kicad/doit.py
@@ -184,6 +184,8 @@ def task_kicad_create_component_data_set():
logger.info("processing {} kicad-sch".format(len(kicad_sch)))
+ ignored_ref_types = set("#PRW")
+
for sch in kicad_sch:
ref = sch.get("ref")
ref_num = sch.get("ref-num")
@@ -192,7 +194,7 @@ def task_kicad_create_component_data_set():
continue
ref_type = sch.get("ref-type")
- if not ref_type or ref_type == "#PWR":
+ if not ref_type or ref_type in ignored_ref_types:
logger.debug("Missing ref-type or bad ref-type: ref={}, ref-type={}".format(ref, ref_type))
continue