Skip to content

Commit

Permalink
Check use-external-holder before union internal holders
Browse files Browse the repository at this point in the history
  • Loading branch information
yejianfengblue committed Aug 13, 2021
1 parent 84e86a5 commit ae60ea2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/dactyl_keyboard/manuform.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1587,12 +1587,14 @@
(rj9-space frj9-start c))
(case-walls c))
(if use-screw-inserts? (screw-insert-outers screw-placement c) ())
(case connector-type
:trrs (union (pro-micro-holder c)
(trrs-usb-holder-holder c)
(trrs-holder c))
:rj9 (union (usb-holder fusb-holder-position c)
(rj9-holder frj9-start c))
(if-not use-external-holder?
(case connector-type
:trrs (union (pro-micro-holder c)
(trrs-usb-holder-holder c)
(trrs-holder c))
:rj9 (union (usb-holder fusb-holder-position c)
(rj9-holder frj9-start c))
())
()))
(if use-screw-inserts? (screw-insert-holes screw-placement c) ())
(if-not use-external-holder?
Expand Down

0 comments on commit ae60ea2

Please sign in to comment.