chiark / gitweb /
adafruit-powerboost: break out PsuMountWindowsNegative
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Dec 2021 20:22:22 +0000 (20:22 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Dec 2021 20:22:22 +0000 (20:22 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
adafruit-powerboost-common.scad

index 6eda9e58fe6b997e766f7e708f888256fda83f82..fd632449084766324aebbdaa8691aa11348e0a4a 100644 (file)
@@ -192,6 +192,11 @@ module PsuLedWindowsPlan(){
   }
 }
 
+module PsuMountWindowsNegative(){
+  linextr(-10, 0.1)
+    PsuLedWindowsPlan();
+}
+
 module PsuMountDemo() { ////toplevel
   ceil = psu_test_ceil;
 
@@ -243,10 +248,8 @@ module PsuMountTest() { ////toplevel
        }
       }
     }
-    translate([0, psu_y, psu_z]) {
-      linextr(-10, 0.1)
-       PsuLedWindowsPlan();
-    }
+    translate([0, psu_y, psu_z])
+      PsuMountWindowsNegative();
   }
 }