libaltos: Delay freeing serial device until not busy
[fw/altos] / libaltos / libaltos_private.h
index ee3dd708873d39a1e05fbb51c488e0748a0a8b94..45e141f9a0126b559c37ceac89817c9a967d9eff 100644 (file)
@@ -35,6 +35,7 @@ struct altos_file {
        unsigned char                   in_data[USB_BUF_SIZE];
        int                             in_used;
        int                             in_read;
+       int                             busy;
 };
 
 #ifdef LINUX