X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fcore%2Fao_usb.h;h=1ce4f82f2a1066d24f6276c0149501a47e569a3a;hp=6bc77608ef331a8782b6be051c948deab9cdcc52;hb=9f6983e3d61fa5231f3d0ce33dbc5aadf946b597;hpb=8a19805a6b079450b5afd5fa2334cede8495ae4a diff --git a/src/core/ao_usb.h b/src/core/ao_usb.h index 6bc77608..1ce4f82f 100644 --- a/src/core/ao_usb.h +++ b/src/core/ao_usb.h @@ -102,8 +102,11 @@ extern __code __at (0x00aa) uint8_t ao_usb_descriptors []; #define AO_USB_INT_EP 1 #define AO_USB_INT_SIZE 8 +#ifndef AO_USB_OUT_EP #define AO_USB_OUT_EP 4 #define AO_USB_IN_EP 5 +#endif + /* * USB bulk packets can only come in 8, 16, 32 and 64 * byte sizes, so we'll use 64 for everything @@ -134,4 +137,6 @@ struct ao_usb_line_coding { uint8_t data_bits; } ; +extern __pdata uint8_t ao_usb_running; + #endif /* _AO_USB_H_ */