Baseline: tree as shared

This commit is contained in:
alexm committed 2026-10-05 03:03:38 +00:00
commit 31f2fb8a5a
1679 files changed
+1024562

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
def make_drive[num_motors: Int]() -> Int:
# The drive train must pair motors across an even motor count.
comptime assert num_motors % 2 == 0, "num_motors must be even"
return num_motors * 64
def main():
print("Drive slots:", make_drive[7]())