aboutsummaryrefslogtreecommitdiff
path: root/src/usb.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-09-22 09:14:21 -0400
committerNathan Perry <np@nathanperry.dev>2024-09-22 09:14:31 -0400
commit945052f34bb1f01f0ba0cb861350a885d8d82f43 (patch)
tree1d818cd9dd13875df4043a8270331364e71f32fb /src/usb.rs
parentff3606c0d2d3f510ee6bca040e77de92ca5be529 (diff)
theoretically working firmware
Diffstat (limited to 'src/usb.rs')
-rw-r--r--src/usb.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usb.rs b/src/usb.rs
new file mode 100644
index 0000000..7ec1aae
--- /dev/null
+++ b/src/usb.rs
@@ -0,0 +1,2 @@
+molybdos::lib::usb_pipes!(pub);
+molybdos::lib::cobs_pubsub!(pub, ocularium::Uplink => COBS_UPLINK, ocularium::Downlink => COBS_DOWNLINK);