]> mj.ucw.cz Git - home-hw.git/blobdiff - Inc/app.h
Request/reply protocol
[home-hw.git] / Inc / app.h
index d975287ef502c59fb2fba75fcaba135a79be3695..1fb9965a7bc461b2d7e13b6fb01944f9313bb513 100644 (file)
--- a/Inc/app.h
+++ b/Inc/app.h
@@ -1,10 +1,15 @@
 // main.c
 
-extern byte rx_display[8];
-extern volatile byte rx_display_ready;
-
 // display.c
 
 void display_init(void);
 void display_counter(uint cnt);
 void display_buffer(byte *buf);
+
+// usbdev.c
+
+extern byte rx_packet[64];
+extern byte tx_packet[64];
+extern volatile byte rx_packet_state, tx_packet_state;
+
+void tx_packet_send(void);