Allow tree type

This commit is contained in:
mrg 2021-05-26 17:46:41 -07:00
parent 8bf37ca708
commit 61221ff4fa
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ class supply_tree_router(router):
# The pin escape router already made the bounding box big enough,
# so we can use the regular bbox here.
if pin_type:
debug.check(pin_type in ["left", "right", "top", "bottom", "ring"], "Invalid pin type {}".format(pin_type))
debug.check(pin_type in ["left", "right", "top", "bottom", "tree", "ring"],
"Invalid pin type {}".format(pin_type))
self.pin_type = pin_type
router.__init__(self,
layers,